in reply to Re: Re: A Question on ADO and a comment on Microsoft
in thread A Question on ADO and a comment on Microsoft
As far as using ADO, you're going to make something just as unportable as writing ASP. But if you want to try it, you will infact use Win32::OLE. Example..
written off the cuff so knowing me there's errors, but that's the basic usage under Win32::OLE.use Win32::OLE; my $rs = new Win32::OLE("ADODB.Recordset"); # you're going to have to define your consts that # you're using in the vbscript example $rs.Open('NOTICE', etc.. ); $rs->AddNew(); $rs->{'title'}{'Value'} = $somevalue; <....> $rs->Update(); my $last_id = $rs->{'ID'}{'Value'};
Hope this helps..
Rich
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: A Question on ADO and a comment on Microsoft
by simon.proctor (Vicar) on Jul 21, 2001 at 01:39 UTC | |
|
Re: Re: Re: Re: A Question on ADO and a comment on Microsoft
by simon.proctor (Vicar) on Jul 21, 2001 at 02:38 UTC |