As i can see, you are still searching for solution and i wil tell you why you still searching for solution.
Because…
- You do not provide a screen of your 2 databases and how there are structured.
- You do not provide related DB-Fields
- You do not provide a screenshot, of your 2 databases, which would clarify your setup.
- You did not provide a RESULT-OBJECT of my provided code.
Anybody can see what is inside of the resulting OBJECT.
Provide more info about your DATABASE. (show a screenshot of both).
Also show OBJECT-RESULTS .
$w.onReady(function(){
$w("#dynamicDataset").onReady(()=>{
let item = $w("#dynamicDataset").getCurrentItem();
console.log("ITEM: ", item);
});
});