SaveAs Method
Saves the selected range or optionally the entire recordset to a text file.
Syntax
object.SaveAs PathFile, [CopyAll]
The syntax of the SaveAs method has these parts:
| Part | Description |
| object | A DGrid control. |
| PathFile | The complete path\filename of the file to save. |
| CopyAll | Optional. If True saves the contents of the entire grid to the file. |
Remarks
The SaveAs method displays the progress bar at the bottom of the grid. Pressing any key or clicking the grid will cancel the SaveAs operation. SaveAs overwrites an existing file.
Data Type
PathFile String
CopyAll
Boolean