Connection Info in Custom File

This might help: How to Load Data from Database into Custom Files (v2025).