comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Two questions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Two questions [message #33300 is a reply to message #33227] Mon, 16 December 2002 12:24 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Evgeny Turchin" <evgturchin@narod.ru> wrote in message
news:atkrlr$2n31$1@ID-154032.news.dfncis.de...
> Question #1.
> Is it possible to do the sequence of actions which are done with function
> DIALOG_DBCONNECT from
> DataMiner API but without using the dialog mode ?

Definitely. You use the IDLDBDatabase object's Connect method. It takes
CONNECTION or DATASOURCE keywords. Looking back over some old code I see
that I connected to a database with the commands

objDB = OBJ_NEW('IDLdbDatabase')
objDB->Connect, datasource='$Station Data'

Unfortunately I do not recall how I set up a data source called '$Station
Data'. I think this pointed to an .mdb file and that I set up the data
source via the ODBC Control Panel (Windows).

Hope this helps.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Serial I/O
Next Topic: Generating PS files and png files at the same time

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 19:03:30 PDT 2025

Total time taken to generate the page: 1.67853 seconds