12-07-2005 10:36 AM
12-08-2005 08:41 AM
I have no idea if there's a separate function in the toolkit but you can execute a SQL command to do it. The syntax is:
DELETE [from] table name [WHERE clause]
Example: DELETE testres WHERE meas < 0.0
12-12-2005 08:05 AM
12-12-2005 08:19 AM
12-29-2005 07:42 PM
12-30-2005 01:32 AM
12-30-2005 06:43 AM
I have used the sql query as described above and it works fine with access DB and the DB toolkit, the free object vi only deallocated a recordset's references this will noty alter the database since the record is a copy of the databases information. The SQL delete function is very versatile and you should be able to delete records with no problem.
Paul
12-30-2005 08:09 PM
If I want to delete the nth record, I have to first move the recordset to nth location, then use the SQL delete, but there seems no SQL execute vi for recordset. The record to be deleted is not fixed value, it is a control.
Thanks, Jane
01-03-2006 07:41 AM