dbTalk Databases Forums  

Determine If Database Linked To Sharepoint Is Online

comp.databases.ms-access comp.databases.ms-access


Discuss Determine If Database Linked To Sharepoint Is Online in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Wayne
 
Posts: n/a

Default Determine If Database Linked To Sharepoint Is Online - 04-25-2009 , 12:53 AM






Is there a way to programatically determine if a database that is
linked to Sharepoint is online or offline? I know that the status bar
gives this indication, but I would like to make it more obvious to the
user via a label on a form.

Reply With Quote
  #2  
Old   
Salad
 
Posts: n/a

Default Re: Determine If Database Linked To Sharepoint Is Online - 04-25-2009 , 10:18 AM






Wayne wrote:
Quote:
Is there a way to programatically determine if a database that is
linked to Sharepoint is online or offline? I know that the status bar
gives this indication, but I would like to make it more obvious to the
user via a label on a form.
I wouldn't know but perhaps you can create an error condition. Ex
Sub TestErr()
Dim x As Date
On Error GoTo 0
On Error Resume Next
x = "Hello"
MsgBox Err & " " & Err.Description
End Sub

and perform some sort of check on an option that is available online vs
offline. Is there an Sharepoint object module you can view to create a
test?




Reply With Quote
  #3  
Old   
Albert D. Kallal
 
Posts: n/a

Default Re: Determine If Database Linked To Sharepoint Is Online - 04-26-2009 , 09:18 AM



"Wayne" <cqdigital (AT) volcanomail (DOT) com> wrote

Quote:
Is there a way to programatically determine if a database that is
linked to Sharepoint is online or offline? I know that the status bar
gives this indication, but I would like to make it more obvious to the
user via a label on a form.
Good question. Both the ribbon icon, and the SharePoint "on-line" in the
status bar obviously "know" if you purposely gone into off-line mode.

I don't see option exposed that tells this...but, I will hunt around a
bit...and see what comes up...


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal (AT) msn (DOT) com




Reply With Quote
  #4  
Old   
Wayne
 
Posts: n/a

Default Re: Determine If Database Linked To Sharepoint Is Online - 04-27-2009 , 02:19 AM



On Apr 27, 12:18*am, "Albert D. Kallal"
<PleaseNOOOsPAMmkal... (AT) msn (DOT) com> wrote:

Quote:
Good question. Both the ribbon icon, and the SharePoint "on-line" in the
status bar obviously "know" if you purposely gone into off-line mode.

I don't see option exposed that tells this...but, I will hunt around a
bit...and see what comes up...
Thanks Albert. I have a custom ribbon and the status bar indicator is
easily missed by an inexperienced user. Hence I want to flag to the
user if the database is offline using a hard-to-miss text box if it is
possible.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.