Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi:
I need to know how works parameters in qV server.
I have a document which has a botton which launch another QV document.
There is a place to insert parameters , and I fill this place(I do not know if I fill right, I write each parameter separated by blanks)
Well the problem is , after of this, I do not know in the called document how to read this paraemeter..I suppose that I have to create an script which read these parameter, but I do not know how to read these.,
¿could you help me?
best regards
Hello,
open the QVW with the ActiveX plugin like this:
http://QV-server/QvPlugin/opendoc.htm?document=foobla.qvw?vID=4711
Call This VB Script whenever the variable "vID" changes or whenever the document is opened:
Sub Set_Variable_Through_URL_Parameter()
dim var1
ActiveDocument.ClearAll false
set v = ActiveDocument.GetVariable("vID")
var1 = v.GetContent.string
ActiveDocument.Fields("%ID%").Unlock ' Unlock Listbox
ActiveDocument.Fields("%ID%").Select var1 ' Select Field
ActiveDocument.Fields("%ID%").Lock ' Lock Listbox
End Sub
Kind Regards,
Andreas
Hi Andreas:
First of all thank you very much for your help.
I am trying to do this in a Button, in this way:
Button Properites:
1) In "General" Sheet:I mark in FUNCTION Launch/export
2) In "Launch" Sheet : I mark Application, and then in this field ¿I have to write iexplore.exe? Now I write the direction of our url..(in your example http://QV-server/QvPlugin/opendoc.htm?document=foobla.qvw)
In parameters. I write a variable, in your example will be variable "vID"(I write the name of the variable. in this field)
If I do that, the button doesn´t works ...¿what Iam Idoing bad?
best regards