The consoleLib.setCurrentArrayCount() system function specifies how many rows you have used in a dynamic data array that you have bound to an on-screen array dictionary. This function is useful only if you invoke it before issuing the openUI statement that opens the array dictionary.
consoleLib.setCurrentArrayCount(count INT in)