You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/parenturl-property-ado.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ author: rothja
18
18
ms.author: jroth
19
19
---
20
20
# ParentURL Property (ADO)
21
-
Indicates an absolute URL string that points to the parent [Record](../../../ado/reference/ado-api/record-object-ado.md) of the current **Record** object.
21
+
Indicates an absolute URL string that points to the parent [Record](./record-object-ado.md) of the current **Record** object.
22
22
23
23
## Return Value
24
24
Returns a **String** value that indicates the URL of the parent **Record**.
25
25
26
26
## Remarks
27
-
The **ParentURL** property depends on the source used to open the **Record** object. For example, the **Record** can be opened with a source that contains a relative path name of a directory referenced by the [ActiveConnection](../../../ado/reference/ado-api/activeconnection-property-ado.md) property.
27
+
The **ParentURL** property depends on the source used to open the **Record** object. For example, the **Record** can be opened with a source that contains a relative path name of a directory referenced by the [ActiveConnection](./activeconnection-property-ado.md) property.
28
28
29
29
Suppose "second" is a folder contained under "first". Open the **Record** object by using the following syntax:
30
30
@@ -46,13 +46,13 @@ record.Open "second"
46
46
This property is read-only.
47
47
48
48
> [!NOTE]
49
-
> This property is only supported by document source providers, such as the [Microsoft OLE DB Provider for Internet Publishing](../../../ado/guide/appendixes/microsoft-ole-db-provider-for-internet-publishing.md). For more information, see [Records and Provider-Supplied Fields](../../../ado/guide/data/records-and-provider-supplied-fields.md).
49
+
> This property is only supported by document source providers, such as the [Microsoft OLE DB Provider for Internet Publishing](../../guide/appendixes/microsoft-ole-db-provider-for-internet-publishing.md). For more information, see [Records and Provider-Supplied Fields](../../guide/data/records-and-provider-supplied-fields.md).
50
50
51
51
> [!NOTE]
52
-
> URLs using the http scheme will automatically invoke the [Microsoft OLE DB Provider for Internet Publishing](../../../ado/guide/appendixes/microsoft-ole-db-provider-for-internet-publishing.md). For more information, see [Absolute and Relative URLs](../../../ado/guide/data/absolute-and-relative-urls.md).
52
+
> URLs using the http scheme will automatically invoke the [Microsoft OLE DB Provider for Internet Publishing](../../guide/appendixes/microsoft-ole-db-provider-for-internet-publishing.md). For more information, see [Absolute and Relative URLs](../../guide/data/absolute-and-relative-urls.md).
53
53
54
54
> [!NOTE]
55
55
> If the current record contains a data record from an ADO **Recordset**, accessing the **ParentURL** property causes a run-time error, indicating that no URL is possible.
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/position-property-ado.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ author: rothja
18
18
ms.author: jroth
19
19
---
20
20
# Position Property (ADO)
21
-
Indicates the current position within a [Stream](../../../ado/reference/ado-api/stream-object-ado.md) object.
21
+
Indicates the current position within a [Stream](./stream-object-ado.md) object.
22
22
23
23
## Settings and Return Values
24
24
Sets or returns a **Long** value that specifies the offset, in number of bytes, of the current position from the beginning of the stream. The default is 0, which represents the first byte in the stream.
25
25
26
26
## Remarks
27
-
The current position can be moved to a point after the end of the stream. If you specify the current position beyond the end of the stream, the [Size](../../../ado/reference/ado-api/size-property-ado-stream.md) of the **Stream** object will be increased accordingly. Any new bytes added in this way will be null.
27
+
The current position can be moved to a point after the end of the stream. If you specify the current position beyond the end of the stream, the [Size](./size-property-ado-stream.md) of the **Stream** object will be increased accordingly. Any new bytes added in this way will be null.
28
28
29
29
> [!NOTE]
30
30
> **Position** always measures bytes. For text streams using multibyte character sets, multiply the position by the character size to determine the character number. For example, for a two-byte character set, the first character is at position 0, the second character at position 2, the third character at position 4, and so on.
@@ -36,7 +36,7 @@ Indicates the current position within a [Stream](../../../ado/reference/ado-api/
36
36
> For read-only **Stream** objects, ADO will not return an error if **Position** is set to a value greater than the **Size** of the **Stream**. This does not change the size of the **Stream**, or alter the **Stream** contents in any way. However, doing this should be avoided because it results in a meaningless **Position**value.
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/positionenum.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,13 @@ author: rothja
18
18
ms.author: jroth
19
19
---
20
20
# PositionEnum
21
-
Specifies the current position of the record pointer within a [Recordset](../../../ado/reference/ado-api/recordset-object-ado.md).
21
+
Specifies the current position of the record pointer within a [Recordset](./recordset-object-ado.md).
22
22
23
23
|Constant|Value|Description|
24
24
|--------------|-----------|-----------------|
25
-
|**adPosBOF**|-2|Indicates that the current record pointer is at BOF (that is, the [BOF](../../../ado/reference/ado-api/bof-eof-properties-ado.md) property is **True**).|
26
-
|**adPosEOF**|-3|Indicates that the current record pointer is at EOF (that is, the [EOF](../../../ado/reference/ado-api/bof-eof-properties-ado.md) property is **True**).|
27
-
|**adPosUnknown**|-1|Indicates that the **Recordset** is empty, the current position is unknown, or the provider does not support the [AbsolutePage](../../../ado/reference/ado-api/absolutepage-property-ado.md) or [AbsolutePosition](../../../ado/reference/ado-api/absoluteposition-property-ado.md) property.|
25
+
|**adPosBOF**|-2|Indicates that the current record pointer is at BOF (that is, the [BOF](./bof-eof-properties-ado.md) property is **True**).|
26
+
|**adPosEOF**|-3|Indicates that the current record pointer is at EOF (that is, the [EOF](./bof-eof-properties-ado.md) property is **True**).|
27
+
|**adPosUnknown**|-1|Indicates that the **Recordset** is empty, the current position is unknown, or the provider does not support the [AbsolutePage](./absolutepage-property-ado.md) or [AbsolutePosition](./absoluteposition-property-ado.md) property.|
28
28
29
29
## ADO/WFC Equivalent
30
30
Package: **com.ms.wfc.data**
@@ -39,9 +39,9 @@ Specifies the current position of the record pointer within a [Recordset](../../
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/precision-property-ado.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ author: rothja
19
19
ms.author: jroth
20
20
---
21
21
# Precision Property (ADO)
22
-
Indicates the degree of precision for numeric values in a [Parameter](../../../ado/reference/ado-api/parameter-object.md) object or for numeric [Field](../../../ado/reference/ado-api/field-object.md) objects.
22
+
Indicates the degree of precision for numeric values in a [Parameter](./parameter-object.md) object or for numeric [Field](./field-object.md) objects.
23
23
24
24
## Settings and Return Values
25
25
Sets or returns a **Byte** value that indicates the maximum number of digits used to represent values.
@@ -29,20 +29,20 @@ Indicates the degree of precision for numeric values in a [Parameter](../../../a
29
29
30
30
The value is read/write on a **Parameter** object.
31
31
32
-
For a **Field**object, **Precision** is normally read-only. However, for new **Field** objects that have been appended to the [Fields](../../../ado/reference/ado-api/fields-collection-ado.md) collection of a [Record](../../../ado/reference/ado-api/record-object-ado.md), **Precision** is read/write only after the [Value](../../../ado/reference/ado-api/value-property-ado.md) property for the **Field** has been specified and the data provider has successfully added the new **Field** by calling the [Update](../../../ado/reference/ado-api/update-method.md) method of the **Fields** collection.
32
+
For a **Field**object, **Precision** is normally read-only. However, for new **Field** objects that have been appended to the [Fields](./fields-collection-ado.md) collection of a [Record](./record-object-ado.md), **Precision** is read/write only after the [Value](./value-property-ado.md) property for the **Field** has been specified and the data provider has successfully added the new **Field** by calling the [Update](./update-method.md) method of the **Fields** collection.
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/prepared-property-ado.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,21 +18,21 @@ author: rothja
18
18
ms.author: jroth
19
19
---
20
20
# Prepared Property (ADO)
21
-
Indicates whether to save a compiled version of a [Command](../../../ado/reference/ado-api/command-object-ado.md) before execution.
21
+
Indicates whether to save a compiled version of a [Command](./command-object-ado.md) before execution.
22
22
23
23
## Settings and Return Values
24
24
Sets or returns a **Boolean** value that, if set to **True**, indicates that the command should be prepared.
25
25
26
26
## Remarks
27
-
Use the **Prepared** property to have the provider save a prepared (or compiled) version of the query specified in the [CommandText](../../../ado/reference/ado-api/commandtext-property-ado.md) property before a [Command](../../../ado/reference/ado-api/command-object-ado.md) object's first execution. This may slow a command's first execution, but once the provider compiles a command, the provider will use the compiled version of the command for any subsequent executions, which will result in improved performance.
27
+
Use the **Prepared** property to have the provider save a prepared (or compiled) version of the query specified in the [CommandText](./commandtext-property-ado.md) property before a [Command](./command-object-ado.md) object's first execution. This may slow a command's first execution, but once the provider compiles a command, the provider will use the compiled version of the command for any subsequent executions, which will result in improved performance.
28
28
29
29
If the property is **False**, the provider will execute the **Command** object directly without creating a compiled version.
30
30
31
31
If the provider does not support command preparation, it may return an error when this property is set to **True**. If the provider does not return an error, it simply ignores the request to prepare the command and sets the **Prepared** property to **False**.
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/prepared-property-example-vb.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ author: rothja
17
17
ms.author: jroth
18
18
---
19
19
# Prepared Property Example (VB)
20
-
This example demonstrates the [Prepared](../../../ado/reference/ado-api/prepared-property-ado.md) property by opening two [Command](../../../ado/reference/ado-api/command-object-ado.md) objects - one prepared and one not prepared.
20
+
This example demonstrates the [Prepared](./prepared-property-ado.md) property by opening two [Command](./command-object-ado.md) objects - one prepared and one not prepared.
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/prepared-property-example-vc.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ author: rothja
17
17
ms.author: jroth
18
18
---
19
19
# Prepared Property Example (VC++)
20
-
This example demonstrates the [Prepared](../../../ado/reference/ado-api/prepared-property-ado.md) property by opening two [Command](../../../ado/reference/ado-api/command-object-ado.md) objects - one prepared and one not prepared.
20
+
This example demonstrates the [Prepared](./prepared-property-ado.md) property by opening two [Command](./command-object-ado.md) objects - one prepared and one not prepared.
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/prompt-property-dynamic-ado.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,12 @@ ms.author: jroth
19
19
Specifies whether the OLE DB provider should prompt the user for initialization information.
20
20
21
21
## Settings and Return Values
22
-
Sets and returns a [ConnectPromptEnum](../../../ado/reference/ado-api/connectpromptenum.md) value.
22
+
Sets and returns a [ConnectPromptEnum](./connectpromptenum.md) value.
23
23
24
24
## Remarks
25
-
**Prompt** is a dynamic property, which may be appended to the [Connection](../../../ado/reference/ado-api/connection-object-ado.md) object's [Properties](../../../ado/reference/ado-api/properties-collection-ado.md) collection by the OLE DB provider. To prompt for initialization information, OLE DB providers will typically display a dialog box to the user.
25
+
**Prompt** is a dynamic property, which may be appended to the [Connection](./connection-object-ado.md) object's [Properties](./properties-collection-ado.md) collection by the OLE DB provider. To prompt for initialization information, OLE DB providers will typically display a dialog box to the user.
26
26
27
-
Dynamic properties of a [Connection](../../../ado/reference/ado-api/connection-object-ado.md) object are lost when the **Connection** is closed. The **Prompt** property must be reset before re-opening the **Connection** to use a value other than the default.
27
+
Dynamic properties of a [Connection](./connection-object-ado.md) object are lost when the **Connection** is closed. The **Prompt** property must be reset before re-opening the **Connection** to use a value other than the default.
28
28
29
29
> [!NOTE]
30
30
> Do not specify that the provider should prompt the user in scenarios in which the user will not be able to respond to the dialog box. For example, the user will not be able to respond if the application is running on a server system instead of on the user's client, or if the application is running on a system with no user logged on. In these cases, the application will wait indefinitely for a response and seem to lock up.
@@ -38,4 +38,4 @@ cn.Properties("Prompt") = adPromptNever ' do not prompt the user
Copy file name to clipboardExpand all lines: docs/ado/reference/ado-api/properties-collection-ado.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,20 +20,20 @@ author: rothja
20
20
ms.author: jroth
21
21
---
22
22
# Properties Collection (ADO)
23
-
Contains all the [Property](../../../ado/reference/ado-api/property-object-ado.md) objects for a specific instance of an object.
23
+
Contains all the [Property](./property-object-ado.md) objects for a specific instance of an object.
24
24
25
25
## Remarks
26
26
Some ADO objects have a **Properties** collection made up of **Property** objects. Each **Property** object corresponds to a characteristic of the ADO object specific to the provider.
27
27
28
28
> [!NOTE]
29
-
> See the [Property](../../../ado/reference/ado-api/property-object-ado.md) object topic for a more detailed explanation of how to use **Property** objects.
29
+
> See the [Property](./property-object-ado.md) object topic for a more detailed explanation of how to use **Property** objects.
30
30
31
31
The **Dynamic Properties** of the **Recordset** object go out of scope (become unavailable) when the **Recordset** is closed.
32
32
33
33
This section contains the following topics.
34
34
35
-
-[Properties Collection Properties, Methods, and Events](../../../ado/reference/ado-api/properties-collection-properties-methods-and-events.md)
35
+
-[Properties Collection Properties, Methods, and Events](./properties-collection-properties-methods-and-events.md)
0 commit comments