I was hoping somebody could help with my current speed issues.
I have three datagrids all containing different sets of data, all have an identical column where if the value contains a certain number it will delete the line. My code is WIP but is doing what is asked of, just takes an average of around 55 seconds to complete, my goal time is between 10 - 15 seconds.
Here is an example of what i am currently working with:
Code: Select all
--Line 1
put the dgDataOfLine[1] of grp "DeliveryData" on Card "manifest" into tDataD
put tDataD["item_status_ref"] into tDesiredValueD
if tDesiredValueD >= 2 then
put the dgText of group "DeliveryData" on Card "manifest" into myTempD
delete line 1 of myTempD
set the dgText of group "DeliveryData" on Card "manifest" to myTempD
end if
Any help would be really APPRECIATED