Importing Related Data Into Bento
Revised in 2026: the same ID trick keeps links intact when you leave Bento.

When two libraries are linked with a related records list, Bento keeps the links to itself. Export both libraries to CSV and the links are gone: you get two files with nothing joining them. The same problem appears going the other way, when you import related data from another database.
An example
Say you are moving a practice’s data out of Microsoft Access: a Patients table and an Appointments table, joined by a numeric PatientID field that appears in both.
- Export both tables to CSV with the PatientID column in each.
- Import each file into Bento as its own library, and set the field types properly during import.
- Searching appointments for “1” would also match dates containing a 1, so make the ID unique: add a calculation field that puts text in front of it, such as “PID” followed by the number, giving PID1, PID2 and so on.
- In the Patients form, add the ID field and a related records list based on Appointments.
- Work through the patients, since there are fewer of them, and for each one add the existing appointments found by searching for that PID value.
It is manual work, but planning the ID field first saves most of it.
Going the other way today
When you leave Bento, do the reverse before you export: give every record in the parent library an ID field, and copy that ID into the child records. Most current databases, Tap Forms and FileMaker Pro among them, can then rebuild the links from the matching IDs instead of by hand.


