Grid.SaveToFile

boolean Grid.SaveToFile ( 

string ObjectName,

string FullPath,

string SeparatorCharacter = "," )

Example 1

bSave = Grid.SaveToFile("Grid1", "AutoPlay\\Docs\\grid.txt", ",");

if bSave then
     Dialog.Message("Save To File", "Data successfully Saved", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
else
     Dialog.Message("Save To File", "Failed to save Data", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1);
end

Saves the data in "Grid1" to a text file named "grid.txt" and displays a message with the result.

See also:  Related Actions