How to do a simple lookup


#1

Hi,

I am new to React and Firebase and I have a lot of experience with SQL / ACCESS VB …
I need to do a simple lookup of data in Firebase in a collection like this:

id
description

If I have the id of this collection saved in another collection and I know the id and need to display the description on a screen how do I do this the easiest?

I guess I have to have a datasheet for this collection and connect it to Firebase.
Then I use a query to just download the one record with the known id.
How do I display the description e.g. in a text element and link the data to it so that it gets displayed when the screen loads or when the id in the data slot changes?

I tried to do this for half a day now but it does not show the description even if it is in the datasheet.

Thanks