I'm assuming you want to access some data in your database with your formapi? You can do it through a callServer to a script on the server that can access the database. Another option would be to build an object with the data you need from an inline when your form initializes.