amorosik
Active member
- Local time
- Today, 04:52
- Joined
- Apr 18, 2020
- Messages
- 676
Sometimes it might be useful to 'interlock' two different structures to execute a query and feed a recordset
For example, a physical database table called ARTICOLI and an in-memory string array ARTICOLI_CODICI containing only the item codes to be displayed could essentially be 100-200 strings containing values
So the question is: how can we most efficiently create a single query that 'fetches' data from both the database table ARTICOLI and the in-memory array ARTICOLI_CODICI ?
For example, a physical database table called ARTICOLI and an in-memory string array ARTICOLI_CODICI containing only the item codes to be displayed could essentially be 100-200 strings containing values
So the question is: how can we most efficiently create a single query that 'fetches' data from both the database table ARTICOLI and the in-memory array ARTICOLI_CODICI ?