axapta - Displaying different datasources on tab pages ax 2012 -


i have created form 2 tab pages take 2 different datasources, problem 2 tables used datasources not have relation , created query in init method of form links 2 tables.

when open form, result not show 1 vendor in tab1 show customers vendor on tab2.

almost newer create datasource query scratch, update query instead.

you have join datasources, based on description, should linktypedelayed.

second have have dynalink between datasources, defined in init method of second datasource.

public void init() {     super();     this.querybuilddatasource().adddynalink(fieldnum(vendtable,party), custtable, fieldnum(custtable,party)); } 

there other ways accomplish this, 1 best often.


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -