[Gambas-user] Adding results from different databases
benoit.minisini at gambas-basic.org
Thu Dec 22 22:42:31 CET 2022
Le 22/12/2022 à 17:05, Safiur Rahman a écrit :
> I want to add results (with same fields) from different databases to one
> initial result.
> For example
> I have one large result populating gridview using _Data method. When I
> click a button another large result gets added to the first result and
> scrolling gridview also shows result from second database also.
> Is there any method to achieve this?
A Result object is linked to the database driver it comes from, so the
answer is no. You have to create your own 'MyResult' class to simulate
the concatenation of several different Result objects.
More information about the User