; First, connect to a database with an employee table;IfDatabaseQuery(#Database, "SELECT * FROM employee") ; Get all the records in the 'employee' tableWhileNextDatabaseRow(#Database) ; Loop for each recordsDebugGetDatabaseString(#Database, 0) ; Display the content of the first field Wend FinishDatabaseQuery(#Database)
EndIf