SimpleDataset findAll()
syntax: |
simpledataset.findAll() |
return: |
boolean - value indicating success. In the case that the operation failed, use the getLastErrorCode() and getLastError() methods to determine the reason for the failure.
|
description: |
This method clears the contents of the SimpleDataset and replaces them with the entire contents of the database table. Effectively, this resets the SimpleDataset to its initial state.
After setting the new contents, the current record is set to the record "before" the first record.
|
see: |
#include <smdtset.jsh>, SimpleDataset find() with template, SimpleDataset find() with clause, SimpleDataset findDistinct()
|
example: |
// reset the contents of the SimpleDataset err = ds.findAll(); |