Detecting Offline mode - InfoPath Dev
in

InfoPath Dev

Detecting Offline mode

Last post 07-25-2007 02:52 AM by nukkumatti. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-20-2007 04:14 AM

    Detecting Offline mode

    Hi,

    Is there a function or a way to to detect if a form is opened in the Offline mode.

    My problem is that I need to know if a person can submit or if he should save the form until he gets online. I'm also changing the query for my dropdowns to only display the required data, and was wondering if it would automatically use the stored values of the Dataconnection.

    Kind Regards

      James Laker

  • 07-20-2007 07:07 AM In reply to

    Hi, this is what you need I guess if(thisApplication.MachineOnlineState == XdMachineOnlineState.xdOffline)
    Listen to Motörhead cos they play Rock'n Roll :)
  • 07-24-2007 07:15 AM In reply to

    I'm not sure where that should go, but it doesn't seem to work... I'm using Visual Studio Tools For Applications (VB) and I can't seem to find those Variables. And another thing... Is there a way to have a Custom Save Form button using the above mentioned? Thanx for the help James
  • 07-25-2007 02:52 AM In reply to

    Which version of infopath do you use 2003 or 2007 ?
    Listen to Motörhead cos they play Rock'n Roll :)
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.