Hi all!
My VB6 application works fine with TaminoX.ocx on Tamino v.4.2.1 database but this is not true on Tamino v.4.4.1 db.
This code for example:
[size=“9”][color=“darkblue”][i]Public Function getCountByQuery(query As String) As Integer
tobj.csDatabaseURL = mvarURLBase + mvarXMLColl
Dim queryret As IXMLDOMDocument
Set queryret = tobj.DoQuery(“count(” + query + “)”)
getCountCollByQuery = queryret.getElementsByTagName(“xql:result”).item(0).nodeTypedValue
End Function[/i][/color][/size]
goes in run time error if database version is 4.4.1
If I put this command:
[size=“9”][color=“darkblue”][i]Public Function getCountByQuery(query As String) As Integer
tobj.csDatabaseURL = mvarURLBase + mvarXMLColl
Dim queryret As IXMLDOMDocument
Set queryret = tobj.DoQuery(“count(” + query + “)”)
MsgBox queryret.xml
…[/i][/color][/size]
then the message is:
<?xml version="1.0" encoding="UTF-8"?>
<ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>
<ino:message ino:returnvalue=“8552”>
<ino:messagetext ino:code=“INOXME8552”>Not a valid request</ino:messagetext>
ino:messagelineThe command _xql(1,5) is not supported.</ino:messageline>
</ino:message>
</ino:response>
On Tamino v.4.2.1 db,the function works fine and the message is displayed in the attach.
Can you help me?
Every help is appreciated, thanks in advance!
Pam
msgbox.bmp (210 KB)