Displaying 1 result from an estimated 1 matches for "tblcustomersid".
Did you mean:
tblcustomerid
2006 Apr 07
6
Foreign Key naming convention override
I am working with an existing database and have to keep all table and
field names as they are. ''tblcustomers'' and ''tblitems'' are linked by the
''tblcustomers'' id field ''tblcustomersid''. In ''tblitems'', the foreign key
is called ''txtcustomerid''.
I have already set the customers model to override the ''id'' naming
convention for the primary key by adding the following to the customers
model.
set_primary_key(:int...