| XML Kiosk |
| Technologie | XAS.Technology | Version | V 6.0.1 |
| Dernière modification | Mercredi 21 Juillet 2010 | Par | Zaïr BEZGHICHE |
| Dernière vérification | Vendredi 23 Juillet 2010 | Par | Support France |
| Thème | Administration des Import/Export, (Web, Web Services, PDA, WidGet, Fat Client) | Fonction | FrmImport.CRITCreateType |
| Prototype |
| Function CRITCreateType (cData As String, iIndex As Integer, sTable As String) As String |
| Usage | |||
| Administration-des-Import-Export.CRITCreateType(...) | |||
| HTTP (GET,POST) | SOAP WSDL | SOAP REST | XML-RPC |
| Format de sortie | |||
| XML | HTML | TEXT | EXCEL(CSV) |
| Code Source - développement open source |
| Function CRITCreateType (cData As String, iIndex As Integer, sTable As String) As String |
Function CRITCreateType (cData As String, iIndex As Integer, sTable As String) As String
Dim Ret%
Dim sReq$
Dim sMo$
CRITCreateType = "0.0"
sMo = GetCharByIndice(cData, ";", iIndex)
If sMo <> "" Then
sReq = "Select Id From " + sTable + " WHERE value.string = '" + sMo + "'"
Ret = pExecute(sReq)
If Ret = True And OnSqlGetItem(0) <> "" Then
CRITCreateType = OnSqlGetItem(0)
Else
Ret = pExecute("CLEAR")
sReq = " INSERT Into " + sTable + "(type,name,value, langue, criterea,critereb,filename) "
sReq = sReq + "VALUES ('1','" + XasSetChar(GetCharByIndice(cData, ";", iIndex + 1), "'", "''", 0, 0)
sReq = sReq + "','" + sMo + "','33','"
sReq = sReq + XasSetChar(GetCharByIndice(cData, ";", iIndex + 2), "'", "''", 0, 0) + "','"
sReq = sReq + XasSetChar(GetCharByIndice(cData, ";", iIndex + 3), "'", "''", 0, 0) + "','') "
Ret = pExecute(sReq)
If Ret = True Then
Ret = XasUserGetString(1, sMo)
CRITCreateType = sMo
End If
End If
End If
End Function
|
| Références XAS.Technology |
| GetCharByIndice , XasSetChar , XasUserGetString , |
| 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 |