Pointers in VBA.
Don’t get nervous, you use them all the time.
What is a Pointer? The answer needs some explanation.
Objects, such as Text Boxes, List Boxes, Recordsets, Forms etcetera, are much too large to go passing around an application efficiently. An example would be a Recordset which could be 500 MByte in size. We don’t want to move or copy such a large Object from A to B in memory just to ‘get at it’ at B. So we leave the Object where it is and just pass the memory address of the...
Read more
Don’t get nervous, you use them all the time.
What is a Pointer? The answer needs some explanation.
Objects, such as Text Boxes, List Boxes, Recordsets, Forms etcetera, are much too large to go passing around an application efficiently. An example would be a Recordset which could be 500 MByte in size. We don’t want to move or copy such a large Object from A to B in memory just to ‘get at it’ at B. So we leave the Object where it is and just pass the memory address of the...
Read more