⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. Very soon this forum will be read-only and archived. ⚠


How to join tables in edit view?


  • Please log in to reply
1 reply to this topic

#1 marongbo

marongbo

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 25 May 2017 - 03:04 AM

I wanna join tables in a edit view.There is two tables i wanna edit .

 

table entity:  guid,title,main,time_created

 

table word:guid,status.

 

entity.guid = word.guid

 

 entity's field title and word's field status,which I wanna edit in a edit view at one time.How can I make it? 



#2 marongbo

marongbo

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 27 May 2017 - 03:18 AM

Finally ,I can solve the problem by using two functions, callback_before_update and  callback_after_update .






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users