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 linktype
delayed.
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
Post a Comment