Nubie: primary key to span more than 1 field
Posted: Wed May 25, 2016 2:40 pm
Database tables should have a primary key. nubuilderPro takes care of that behind the scenes, especially with the FastForms that I currently am using a lot as an entry point to my nuBuilder learning curve.
I've already been toying with the database fields that were created by FastForms and switched field types, etc., to be more in line with my plans. One thing I'd like to do is have a table where the primary key consists of more than one field (think about First Name, Family Name, Birthday and Birthplace fields in the Persons table, for example). I tried to put "first, family, birthday, birthplace" in the "Primary Key" field on the "Home - NuBuilder Form - Nubuilder Form - General" tab (separate fields by comma), but that didn't work.
Does nuBuilder support a primary key to span more than 1 field and if so, how to do it?
I've already been toying with the database fields that were created by FastForms and switched field types, etc., to be more in line with my plans. One thing I'd like to do is have a table where the primary key consists of more than one field (think about First Name, Family Name, Birthday and Birthplace fields in the Persons table, for example). I tried to put "first, family, birthday, birthplace" in the "Primary Key" field on the "Home - NuBuilder Form - Nubuilder Form - General" tab (separate fields by comma), but that didn't work.
Does nuBuilder support a primary key to span more than 1 field and if so, how to do it?