Multiple drag & drop records
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
Multiple drag & drop records
Is there any way to get a list of relative record numbers when doing a drag and drop? I only see the last record selected from the variable bound to the dd record number property.
- Alex
- Profound Logic Staff Member
- Posts: 233
- Joined: Fri Jan 04, 2008 12:10 pm
- First Name: Alex
- Last Name: Roytman
- Company Name: Profound Logic Software
- Contact:
Re: Multiple drag & drop records
If the grid you're dragging records from is set up with, row selection = multiple, selection field, and selection value, then you RPG code can read changed records from the subfile and test the bound selection field to get the list of selected records.
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
Re: Multiple drag & drop records
Yes, that's what I am doing, but the READC works only part of the time.
- Attachments
-
- puiREADC.txt
- (4.71 KiB) Downloaded 100 times
-
- json.txt
- (38.37 KiB) Downloaded 303 times
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
Re: Multiple drag & drop records
Alex, I did what you suggested by using chain and checking the selection field (favSelect) for a '1'. It works for multiple drag & drop, but when I drag a single item, favSelect remains blank.
- Alex
- Profound Logic Staff Member
- Posts: 233
- Joined: Fri Jan 04, 2008 12:10 pm
- First Name: Alex
- Last Name: Roytman
- Company Name: Profound Logic Software
- Contact:
Re: Multiple drag & drop records
I believe the solution is to check both the bound "selection field" on the grid within a loop and the "dd record number".
Who is online
Users browsing this forum: No registered users and 4 guests