on 05-20-2016 5:02 AM
Hi All,
With PB 12.5 here.
I have a datawindow called d_locationpath, which is to query and combine parent and child location to get the location path (full directory), as below.
Fyi, I can't get this Location Path directly from database and that's why I create this datawindow to get it.
My question, how to link another datawindow to this d_locationpath datawindow to get Location Path based on Locationid?
Example:
d_stockitem has locationid and I would like to use this locationid to get Location Path in d_locationpath (where d_stockitem.locationid = d_locationpath.locationid).
Kindly advise.
Thank you in advance.
BR,
Yow
Hello Yow,
If you are using the PFC, you could use the linkage service.
If not, you could make d_stockItem accept locationID as an argument and do something like this...
d_locationID.RetrieveEnd():
IF rowCount() = 0 THEN d_stockItem.Reset()
d_locationID.RowFocusChanged():
IF currentRow > 0 THEN
d_stockItem.Retrieve(getItemNumber(currentRow, 'locationID'))
END IF
That should get you started.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe you are after a drop down datawindow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.