Concept Framework 2.0 documentation Contents | Index

ADODataSet.ExecuteQuery

Name Type Access Version Deprecated
ExecuteQuery function public version 1.0 no

Prototype:
function ExecuteQuery(forwad_only=false);

Parameters:
forward_only      This parameter defaults to false. Should be true only if you intend to use a MySQL table with text fields. In this case you should use FetchForward instead of First and Next.

Description:
It executes the SQL query specified by the CommandText or PreparedQuery property and updates the FieldValues property. This is suitable for "select" queries; for other queries (like delete, update, alter), you may check ExecuteNonQuery.

Returns:
Returns -1 if the connection is not set, 0 if couldn't execute the query or 1 if succeeded.

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:14 2011 GMT(c)2011 RadGs Software