SLX 7.01 Trying ti insert records using the Provider. Auto inc is enabled on the table and a service restart has occured.
This works (i get a SLX generated ID and data is loaded): INSERT INTO ASSOCIATION (toid, fromid, forwardrelation, backrelation) VALUES ('SOMEID','SOMEOTHERID','Client','Vendor')
This does not work (i get an error: filed ASSOCIATIONID is a required field): INSERT INTO ASSOCIATION (toid, fromid, forwardrelation, backrelation) Select c1.contactid, c2.contactid, 'Vendor','Client' from contact c1, contact c2 where c1.somefield = c2.someotherfield
What am I missing?
Thanks,
Brian |