Can you call a Servoy method from a vbscript?

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Can you call a Servoy method from a vbscript?

Postby Anne Verrinder » Mon May 17, 2004 7:28 pm

The subject says it all ... is this possible?
Anne Verrinder
 
Posts: 24
Joined: Wed Feb 25, 2004 1:43 am
Location: New Jersey

Postby Jan Blok » Tue May 18, 2004 9:05 pm

No it is not, but what do you want to accomplice?
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Anne Verrinder » Tue May 18, 2004 9:46 pm

Hi Jan,

We would like to be able to trigger a Servoy method from an Access app. Have a 126-table database (in MSSQL Server), with a partial Access GUI. GUI for 35 of these tables is being done in Servoy (and possibly the Access GUI will be redone also). So for now, we'd like to be able to have Access trigger a method in the Servoy solution. Hope that makes sense.

Thanks!

Anne
Anne Verrinder
 
Posts: 24
Joined: Wed Feb 25, 2004 1:43 am
Location: New Jersey

Postby Jan Blok » Tue May 18, 2004 10:51 pm

The only thing you could do is place a value in a (special) table in access and look it up using a custom query in Servoy (and trigger method if the column has special value indicating somthing has to happen)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Anne Verrinder » Tue May 18, 2004 11:17 pm

Thanks, Jan.

We're already using that method for other things (what's in Servoy used to be in FileMaker), and FMP would write a 'request' record in a "transit" table, and trigger a vbscript to tell the Access side to pick it up; Access would use ActiveX to tell FMP a "result" record was there. Worked great with the plug-in.

Since a user who initiates the request for info will be the same one who needs the result, I guess we can teach them to use ALT-TAB to go back to Servoy and use a "pick it up" method to check for the the result once they've created or selected what they want in Access and the "result" record is there in the transit table.

Thanks Jan! This is better than poking around looking for something that isn't going to happen. We'll make it work.

Anne
Anne Verrinder
 
Posts: 24
Joined: Wed Feb 25, 2004 1:43 am
Location: New Jersey


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 5 guests