Community
Showing results for 
Search instead for 
Do you mean 
Reply

Current Database

Accepted Solution Solved
Copper Super Contributor
Posts: 71
Country: Canada
Accepted Solution

Current Database

[ Edited ]

Hello Forum,

 

I need help, I want to be able to find the current name of the database that is open, so for example if the current database is called "Contacts" i want to be able to put in a string the value "Contacts". Any thoughts???


Accepted Solutions
Solution
Accepted by topic author MattRobillard
‎09-25-2015 03:20 AM
Employee
Posts: 1,163
Country: USA

Re: CURRENT DATABASE??

Snippet

string s = _ActApp.ActFramework.CurrentDatabase;
Matthew Wood
Act! SDK Support
Community Moderator

View solution in original post


All Replies
Solution
Accepted by topic author MattRobillard
‎09-25-2015 03:20 AM
Employee
Posts: 1,163
Country: USA

Re: CURRENT DATABASE??

Snippet

string s = _ActApp.ActFramework.CurrentDatabase;
Matthew Wood
Act! SDK Support
Community Moderator
Copper Super Contributor
Posts: 71
Country: Canada

Re: CURRENT DATABASE??

Thanks Matthew worked great!