Hi Matt,
Thks for your reply and the Zip file.
Form No 3 of your smple is pretty much what I intend to do between 2 tables so I'm glad you sent this sample.
My requirement is going to be a lil more heavy to code but It seems MVD has what it takes to do that.
I'm going to go through your sample scripts to see how far I get it.
But before all i have one more question....
assuming I am using several columns in TableGrid 1 and severals in TG 2
Does MVD allows to copy content/value from a certain column of TG1 and paste into the smilar column from TG2 ?
(instead of copying a full record line)
The reason I am asking is as follow...
Use a script to Auto-assign NAMES of TWO "volunteers" to a target schedule based on their favorite Day/Time (Real Availability)
GRID1 (Availability can use Boolean type)
NAME: MON-8 MON-10 MON-12 HrAccount
Matt ok ok . 2
Tim . ok . 4
Tom . ok ok 6
Jim . . ok 2
NAME: TUES-8 TUES-10 TUES-12 HrAccount
Matt ok ok . 6
Jane ok . ok . 2
Mike . ok 2
Jim . ok . ok 4
cliking BUTTON: Action "ASSIGN PEOPLE NOW"
Would process records in order to fullfiling Grid2 repeateadly for 14 days (Using 2 Vol/each days).
[Loop twice for 14 times on distinct day lines]
RESULT:
GRID2 - AutoCalculated Assignments.(or Printable Layout sample)
DATES 8 to 10 10-12 12-2Pm (Column titles)
--------------------------------------------------------------------------
22-8-2016 Vol.A Matt Matt Tom (Detail for each day)
Monday Vol.B (no one) Tim Jim
-------------------------------------------------------------------------
23-8-2016 Vol.A Jane Jane Jim
Tuesday Vol.B Matt Jim Mike
-------------------------------------------------------------------------
ETC...
When two people are available at the same day/time,
The script first search for the one with the smallest HRAccount. (amount of participation hours)
It is no big deal if some ppl HRAccount ends getting much higher than others during a period of time...
Assigning a Name to a Period of time also increment by 2 hours his HRAccount TOTAL before processing the following day...
For the Above case, I would need to VERIFY ASAP... if MVD offers features to allow a script to fullfill (copy/paste) dif. Value on the same line one by one before processing the next day (line) of the Schedulte Grid.
(.... since copying a full line from Grid A to GridB would not be apropriate)
Do you have any idea if column by column value copying is possible, within the same line ?
THANKS !!!
Have a Nice Week End !
Rien ne sert de courir, mieux vaut savoir dans quelle direction aller,,