Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Jun 29, 2017 7:34 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: connecting to a database on mac
PostPosted: Tue May 21, 2013 2:36 am 
Offline

Joined: Tue Aug 29, 2006 4:04 am
Posts: 513
Location: Indonesia
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


Top
 Profile  
Reply with quote  
 Post subject: Re: connecting to a database on mac
PostPosted: Tue May 21, 2013 4:47 am 
Offline

Joined: Tue May 01, 2007 7:04 am
Posts: 66
Location: Lanark, Ontario
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")

_________________
Regards,

Tom Baumgartner
RS 2012r2 Pro on Intel Core i5 iMac with Mac OS X 10.8.2


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group