Skip to main content
Question

Next and Previous Record IDs based on derived sort

  • Sep 12, 2020 2:28 PM UTC
  • 0 replies
  • 71 views

Hi.

Table A contains circa 1000 constantly changing records.

The order of records in this table (for various purposes) is determined by a sort field B (numeric formula based upon a couple of other fields). 

Just being able to report the records in the right order in a report is not sufficient.

I need each record to 'know' the record ID of its predecessor record and successor record (based upon the sort field).

I've tried everything I can think of to do this (reverse looks to a master record etc), but can't work it out.

Sure I've seen a solution to something like this in a previous post based upon creating a connected table, but cannot find the post and I'm now pulling my hair out, having tried everything I can think of (reverse lookups - master parent etc).

No doubt I'm missing something obvious!

A nudge in the right direction would be massively appreciated!

Thanks

David




------------------------------
dmlaycock2000 dmlaycock2000
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
Is the sort field unique?

------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------