ze_colmeia
New member
- Local time
- Today, 11:28
- Joined
- Oct 3, 2006
- Messages
- 8
Hi all...
i'm having trouble trying to pass a field value from a Data Access Page to a Scriptlet.
Om my DAP i have:
And on my scriptlet i have something like this:
But parent.returnId() always returns an empty string... Is there any other way to do this?
Thanks in advance.
i'm having trouble trying to pass a field value from a Data Access Page to a Scriptlet.
Om my DAP i have:
Code:
Function returnId()
Dim pId
pId = formName.Id.value
returnId = pId
End Function
And on my scriptlet i have something like this:
Code:
Function public_DropMenu()
Dim rId
rId = parent.returnId()
sqlStr = "SELECT * FROM tbl WHERE Id=" & rId
....
End Function
Thanks in advance.