Rusty, I have been programming Flexibility for the past three years, both MSSQL and PSQL. You can take the approach you described, but you will have to get deeply into Pervasive's SDK and their implementation of OLEDB. They are not a real friendly company when it comes to free tech support, so it costs bucks, in addition to the potential pitfalls Don described. If you are a programmer with a lot of time and you are working at an advanced level, you can make it work. Myself, being a self-employeed programmer, I have to get apps rolled out quick, and they also have to be robust enough to survive upgrades. Otherwise, I have to stand under a bridge with a cardboard sign and ask people for money. Since I don't like being poor, I use Access databases that are ODBC-linked into the PSQL database, and create additional tables in Access that share the same key structure as the related Macola tables, and I then add a reference to ADO 2.x in Macola's VBA (Flexibility) to make the Access databases available within a Macola context, via ADO connections . Using Macola's Screen designer in conjuction with these tools , it is not very difficult to put data fields up on the Macola screen, collect data, etc, and store them in an Access (or SQL server) database. In addition, you can also use Office objects, which use MDB's as the native format, to send emails from with Macola, create Excell Spreadsheets, print Access reports, etc, and make your boss think you are a friggin genius.
MS Sql is a superior environment, but IT budgets are very tight right now, and anyone who tells the boss that he needs a bunch of money for an upgrade is going to have a tough time selling it. I've been doing a lot of PSQL jobs lately because the bosses would rather pay a couple of grand for an app that solves an immediate problem than spend a bunch on an upgrade, and Flexibilty allows me to deliver and avoid that trip to the I-45 bridge.