I used the following book several years ago to learn SoftDesk (now called LDD). You might get good ideas & concepts from it. It had a pretty good chapter to help understand data collector coding. Softdesk Civil : Using the Power of Softdesk (Paperback, 1997)
Author: Phillip Zimmerman