True, I think I will now decide to use Perl functions to do the IF THEN ELSE
code
part of the query and then just execute the required UPDATE or INSERT query.
I'm not going to get involved with the VBA side of it...I dont know VBA all
that well
yet.
The MDB database is permanently stored on the webserver, users will not have
access
to the MDB file itself...only me. The web users (clients) will be accessing
the database
through web pages...simple searches and updates etc....just think of it as
an online
shopping database with Perl doing all the processing.
Thnx for your advice.
"David W. Fenton" <dXXXfenton@bway.net.invalid> wrote in message
news:Xns9663806F9BADAdfentonbwaynetinvali@24.168.1 28.90...[color=blue]
> "Carl" <mail2carl@_remove_yahoo.com> wrote in
> news:ssGle.556$wJ6.326@newsfe4-gui.ntli.net:
>[color=green]
>> The Access database will be stored on a webserver and the perl
>> script will be executing all the database queries and returning
>> the results to the clients web browser.
>>
>> As I have limited access to the Webserver and no SQL server, Perl
>> and ODBC are the only soultions at the moment. I could use Perl
>> OLE and ADODB, but this would only support Windows servers.
>>
>> The Perl DBI driver is excellent for administering Access
>> databases on both Unix and Windows webservers.[/color]
>
> You're *not* administering an Access database -- you're
> administering a *Jet* database.
>
> Access is separate from the db engine, and has its own set of
> objects that are stored in Jet tables within an MDB file. You may
> have used Access to create the Jet database, but if you're using it
> only for data storage, you just aren't using Access in any
> significant degree.
>
> And on your web server, only Jet is involved.
>
> Now, you don't say how the data is getting to the end users. If
> you're sending them the MDB file, you could put VBA code in it along
> with a UI and you could have them perform the operations I outlined
> by opening the db in Access (and it's meaningfully an Access db if
> you're putting code and forms in it).
>
> But, really, all that I outlined was the VBA method for executing
> SQL against the data tables. You should be able to do this via ODBC,
> using perl's functions to do the comparisons necessary to determine
> if a field needs to be updated.
>
> --
> David W. Fenton
http://www.bway.net/~dfenton
> dfenton at bway dot net
http://www.bway.net/~dfassoc[/color]