Switching off/catching relationships checking on startup

Discuss the Offline version of Servoy that allows you to run Servoy applications on and offline by using synchronization technology like Mobilink and SQL Remote.

Switching off/catching relationships checking on startup

Postby dpearce » Tue Jun 03, 2008 5:59 pm

Does anyone know of a way to switch off the error checking on relationships on startup.

I am now using a couple of relationships to sync my local solution to my remote one, but when i startup offline then it gives my users an error as the relationships obviously aren't their.

It seems that using the OnError function does not capture the relationship errors the occur on startup. It must kick in a bit later?

I just wondered whether anyone has any bright ideas?


David
dpearce
 
Posts: 469
Joined: Sun Dec 03, 2006 11:53 am

Postby david » Thu Jun 05, 2008 4:40 pm

Don't use the remote relationships on a form.

Put them in a try...catch statement when using in a method.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1723
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Postby dpearce » Thu Jun 05, 2008 4:52 pm

Thanks,

i think that may well do the trick.

David
dpearce
 
Posts: 469
Joined: Sun Dec 03, 2006 11:53 am


Return to Servoy Offline Client

Who is online

Users browsing this forum: No registered users and 1 guest