We would need a bit more information to answer this question like:
- How are you requesting the data from that database?
- Are you using a simple FDM query on initialise or are you using a prefill servlet?
- If you are using FDM how have you structured the FDM query?
- How do you match a user viewing the form to a record in the database?