You can also just do something like this:
Code: Select all
Results := ADOSQL( ConnectionString, "
(
Select top 3 No_, Description from [Project] where [No_] like 'SAMPLE-%'
)")
;Show first result only
MsgBox Results[2][1] "`n" Results[2][2]
;Show all three results one after another
for Index, Result in Results
{
if Index > 1 ;Skip Header line
MsgBox Result[1] "`n" Result[2]
}