Real Software Forums
http://forums.realsoftware.com/

connecting to a database on mac
http://forums.realsoftware.com/viewtopic.php?f=7&t=47932
Page 1 of 1

Author:  Rivo [ Tue May 21, 2013 2:36 am ]
Post subject:  connecting to a database on mac

Hi,

I am using this code to connect to a file sharing on windows

f=getfolderitem("\\server\xserver\db\").child("test.db")


my question is, how to do it on mac while the file sharing is based in windows.?
The file sharing network is accessed on mac and work nicely.
When I start the application, it wont run, because the application cannot access the database path.

any helps.?

thanks
Regards,
Rivo

Author:  Tom Baumgartner [ Tue May 21, 2013 4:47 am ]
Post subject:  Re: connecting to a database on mac

There may be more than one problem but start by formatting the path in the Mac fashion with forward slashes. Also, I have found sometimes recently you have to specify the type of path.

f=getfolderitem("/server/xserver/db",FolderItem.PathTypeShell).child("test.db")

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/