168 |
|
Attachment := FirebirdAPI.OpenDatabase(Owner.GetEmployeeDatabaseName,DPB); |
169 |
|
writeln(OutFile,'Database Open, SQL Dialect = ',Attachment.GetSQLDialect); |
170 |
|
DoQuery(Attachment); |
171 |
+ |
if Attachment.HasScollableCursors then |
172 |
+ |
try |
173 |
+ |
DoScrollableQuery(Attachment); |
174 |
+ |
except on e: Exception do |
175 |
+ |
writeln(OutFile,'Remote Scrollable cursors test fails ',E.Message); |
176 |
+ |
end; |
177 |
|
Attachment.Disconnect; |
178 |
|
writeln(OutFile,'Now open the employee database as a local database'); |
179 |
|
DPB := FirebirdAPI.AllocateDPB; |