Flex can't natively connect directly to a database. There needs to be some sort
of middle layer. (AIR apps can connect directly to SQLite, though.)
For the Access DB I inherited, I ended up migrating the whole thing to MS SQL
and then created web services. Then I use Flex's web service functionality to
send/receive XML Soap messages. Works great. Technically, I could have
created web services to hit up the Access DB, but for that much work, it was
easier just to migrate to MS SQL and use the existing web service layer already
in existence.
--- In flexcoders@yahoogroups.com, "xamkan" wrote:
>
> Is there any way having flex to access data within a .mdb file which reside
> in the same computer? Lets make it easier, having the .mdb file right next
> the the flex files. How can I design a flex program to open it and access
> the data within? I am just trying to make a very simple program, can access
> a .mdb file, and does not require remote connection. I searched for days and
> finally decided to make a post. This is a newbie with this tool and
> hopefully someone know how and can show shad some light on this with some
> example possibly. Thanks in advance!
>