| XML Kiosk |
| Technologie | XAS.Technology | Version | V 6.0.1 |
| Dernière modification | Jeudi 8 Avril 2010 | Par | Zaïr BEZGHICHE |
| Dernière vérification | Vendredi 9 Avril 2010 | Par | Support France |
| Thème | Administration des entités, (Web, Web Services, PDA, WidGet, Fat Client) | Fonction | FrmEntity.UpdateLinkSite |
| Prototype |
| Function UpdateLinkSite (IdXml As Integer, iBandeau As Integer, sid As String) As Integer |
| Usage | |||
| Administration-des-entites.UpdateLinkSite(...) | |||
| HTTP (GET,POST) | SOAP WSDL | SOAP REST | XML-RPC |
| Format de sortie | |||
| XML | HTML | TEXT | EXCEL(CSV) |
| Code Source - développement open source |
| Function UpdateLinkSite (IdXml As Integer, iBandeau As Integer, sid As String) As Integer |
Function UpdateLinkSite (IdXml As Integer, iBandeau As Integer, sid As String) As Integer
Dim Ret%
Dim sa$
Dim sb$
Dim s$
Dim sData$
sData = "DELETE From linkSite WHERE CodeClient.xxKey=" + CStr(sid)
Ret = pExecute(sData)
Ret = XasXmlStart(IdXml, 0)
Ret = XasXmlSearchNode(IdXml, "XmlElement", "XmlBandeau=" + CStr(iBandeau), "", "")
If Ret <> False Then
Ret = XasXmlChildNode(IdXml, s)
While (Ret = 63) 'XmlCheck
Ret = XasXMLGetAttributbyName(IdXml, "Value", sa)
Ret = XasXMLGetAttributbyName(IdXml, "CodeSite", sb)
If Val(sa) = 1 And sb <> "" Then
sData = "Select CodeClient From client where CodeClient.xxKey=" + CStr(sid)
Ret = pExecute(sData)
If Ret = True And OnSQLGetItem(0) <> "" Then
sData = "INSERT INTO Client.LinkSite(CodeClient,CodeSite) VALUES ('" + CStr(sid) + "','" + sb + "' )"
Ret = pExecute(sData)
End If
End If
Ret = XasXmlNextNode(IdXml, s)
Wend
End If
End Function
|
| Références XAS.Technology |
| Cstr , XasXMLStart , XasXMLSearchNode , XasXMLChildNode , XasXMLGetAttributByName , Val , XasXMLNextNode , |
| Audience |
| Cette documentation est destinée aux personnes s'intéressant aux systèmes d'information collaboratifs. Les Webservices, les architectures collabortives et distribuées, les moteurs transactionnelles et les concepts de programmation orientés objet. |
| XAS Services - Zaïr BEZGHICHE - Copyright 1991-2011 tous droits réservés- Powered by XAS.Technology |