Focal Point
[SOLVED] Webfocus connection from MS access

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/83010374

March 17, 2009, 03:39 AM
Srinivas429
[SOLVED] Webfocus connection from MS access
Hi,

I have created a form in MS access. On submit the form I need to call procedure. Anybody have idea on this..

Thanks,

Webfocus 7.1, MS Access(UI)

This message has been edited. Last edited by: Kerry,
March 17, 2009, 03:42 AM
GamP
Don't know how MS Access works, but you might be able to construct a URL that will do this.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
March 17, 2009, 08:50 AM
AlexU
Access use the same VBA set that Excel does. You will likely have to create a module or macro in Access to do what you want.


WF 7703M, XP/Win7, MRE, RC, BID, PMF, HTML, PDF, Excel 2000/7/10
March 17, 2009, 12:58 PM
Diptesh Patel
You should be able to create a URL that points to your Web FOCUS servlet (normally in ibi_apps/WFServlet - you may need to qualify where ibi_apps lives). To thsi servlet, pass the reporting server name (or take the default), the focexec name (provided it is in a folder/directory in the app path), and any parameters that the focexec needs. That should do it.


Diptesh
WF 7.1.7 - AIX, MVS
March 18, 2009, 02:09 AM
Srinivas429
Hi All,

Thanks for your replies,

I am using following code to hit webfocus server. But It is not working. Could anybody provide some sample code to connect to webfocus server.

Private Sub Command0_Click()
Dim sUrl As String
sUrl = "/ibi_apps/WFServlet? IBIF_ex=car.fex &IBIAPP_APP=foldername &IBIC_server=BIWC01 "


FollowHyperlink sUrl
End Sub

Thanks,
March 18, 2009, 03:33 AM
Tony A
quote:
sUrl = "/ibi_apps/WFServlet? IBIF_ex=car.fex &IBIAPP_APP=foldername &IBIC_server=BIWC01 "
Srini,

Firstly try to understand how the url will function and where you have to direct it. Then you might be able to get your requirement working.

As a hint, What webserver are you expecting to hit?

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
March 18, 2009, 06:57 AM
nubi
as a further hint remove the spaces from your url....


Developer Studio 7.64
Win XP
Output: mostly HTML, also Excel and PDF

"Never attribute to malice that which can be adequately explained by stupidity." - Heinlein's Razor