A DataSource object represents the schema and data of an AXF file and can execute SQL commands against the AXF file. A DataSource object is a creatable object in ArcPad. Here's an example of creating a new DataSource object using VBScript:
Dim myDS
Set myDS = Application.CreateAppObject("DataSource")