----- Original Message -----
From: Helge Hetland <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 25, 2000 10:25 AM
Subject: DBASE


> Is it possible to register a dbase in CF admin once and then use the same
> dsn name in many directories?
>

Yes, just give the full path to the dbf file in your query.

> I'll have multiple directories/users that will need to use a database with
> identical tables but with different content.
>
> I need the syntax for something like this:
>
>
> <cfquery name="Testdata" datasource="/www/users/username/db/db.dbf">
> select bla,bla,bla
> </cfquery>
>
>

Set up a dbase datasource called dbfds (or something).  Set it up to a
default directory (the driver only checks that the directory exists - you
don't even need any dbase files in it).

Then set up your queries like:

<cfquery name="testdata" datasource="dbfds">
select something from c:\dbasefiles\client1\test.dbf
</cfquery>

HTH,

Howie

>
>
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to