What is the difference between Myquery1.Open and MyQuery1.Execute
Thanks.
			
									
									
						Myquery1.Open or MyQuery1.Execute
- 
				cybsistemas
 - Posts: 118
 - Joined: Mon 12 Sep 2005 17:31
 - Location: Argentina
 
Re: Myquery1.Open or MyQuery1.Execute
The TMyQuery.Open method is designed for execution of an SQL statements that returns recordset. Otherwise, call to this method will return an error. TMyQuery.Execute is designed to execute any SQL statement on the server. If the executing SQL statement returns recordset, TMyQuery.Execute will open it.