Compare tables
Hallo,
I m stuck on a problem with Ninox.
I have a database with 2 tables A & B.
Each table has lets say 5 record sets.
I want from table A view each record set in view mode. Got that working.
From table A & B I want compare field 1 of each table. Table B field 1 can have multiple of the same numbers in field 1. If table A field 1 = table B field 1 then table B field 1 shall be displayed in the view until all same table B field 1 records are displayed. Table B field 1 may 30 record sets.
Any idea how I could get this working ? Tnx in advance.
12 replies
-
What kind of data is in field1 from either table? Can you share a sample of the data from each table?
-
None of the records Table B field 1 has more than 1 number in it. You make is sound like it could contain multiple sets of numbers, or even an array.
If the data in Table B is what it will look like, try this in the view:
let t := this; select B where Reference = t.ReferenceIs there a reason why you don't create a reference field in B to A? So you don't have do any selects in the future.
-
If you feel like your questions have been answered, please take a moment and mark the post answered.
Content aside
- 7 hrs agoLast active
- 12Replies
- 40Views
-
2
Following

