Jump to:

23358 Posts in 17874 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Return joined data from two tables

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2900 Views
  • B-Side
    Avatar
    Community Member
    42 Posts

    Re: Return joined data from two tables Link to this post

    Thanks so much Mark - that is perfect - it returns the required data and I'm nearly there.

    This is most likely an unrelated issue - formatting the dates returned using $date.Format(...) within the control structure is throwing up an error in the template: Call to a member function XML_val() on a non-object...

    Have you heard of this before?

  • mark_s
    Avatar
    Community Member
    78 Posts

    Re: Return joined data from two tables Link to this post

    Did you resolve this last error? Sounds like something in the template which is not null, but contains something invalid. Perhaps try removing the reference to the constructed data object set from the template, to see if that's what's causing the problem. Otherwise, trying removing other things until it doesn't fail any more.

    Mark

    2900 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.