[REBOL] Connecting to the database
From: belkasri::1stlegal::com at: 17-Jul-2002 14:00
Hi there!
I have a DSN for Access database, let us call it: myDB
I have Rebol/Command/View Pro
I am trying to connect to a Database through ODBC
using the command:
<code>
connect-name: open scheme://localhost/myDB
</code>
It gives the folowing error:
<error>
** Access Error: Invalid port spec: scheme://localhost/myDB
** Where: do-boot
** Near: connect-name: open scheme://localhost/myDB
</error>
This one also doesn't work:
<code>
connect-name: open [scheme: 'odbc target: "{DRIVER=Microsoft Access Driver
(*.mdb)}; DBQ=C:\rebol\view\WorkSpace\mydb.mdb"]
</code>
What am I doing wrong?
--Abdel.