KabirPatel
Registered User.
- Local time
- Today, 20:27
- Joined
- Nov 16, 2006
- Messages
- 38
I have an .adp and would like to display the database name on my startup form.
To do this I could run "select db_name()" from within SQL Server put the return value within an ADO recordset and update my form. However, this seems longwinded.
Is there a property that can be used to display the Database name only?
(If I do CurrentProject.Connection.ConnectionString I get the entire connection string back).
Thanks in advance
Kabir
To do this I could run "select db_name()" from within SQL Server put the return value within an ADO recordset and update my form. However, this seems longwinded.
Is there a property that can be used to display the Database name only?
(If I do CurrentProject.Connection.ConnectionString I get the entire connection string back).
Thanks in advance
Kabir