row.data() syntax with two tables
row.data() syntax with two tables
I have an editor defined which includes a join, so I need to reference ReferralID with the tablename Referrals.ReferralID. But what is the syntax when using row.data(). row.data().ReferralID returns Undefined. And row.data().Referrals.ReferralID gives me an error.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I would expect it to be
row.data().Referrals.ReferralID
, but without being able to see the code it is impossible to say. Perhaps you can show me the JSON returned from the server.Allan
how odd. I thought I had tried that an got an error like Referrals is not a procedure or something like that. But today when I go to get you the Json and error message it works. I must have done something wrong yesterday. So sorry.