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

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -