Administration des critères, (Web, Web Services, PDA, WidGet, Fat Client)
XAS.Services
  XML Kiosk  
Technologie XAS.Technology Version V 6.0.1
Dernière modification Lundi 12 Avril 2010 Par Zaïr BEZGHICHE
Dernière vérification Jeudi 29 Avril 2010 Par Support France
ThèmeAdministration des critères, (Web, Web Services, PDA, WidGet, Fat Client) Fonction FrmCrit.UpdateArticle

Prototype
Function UpdateArticle (Id As Integer) As Integer
Usage
Administration-des-criteres.UpdateArticle(...)
HTTP (GET,POST)SOAP WSDLSOAP RESTXML-RPC
Format de sortie
XML HTML TEXT EXCEL(CSV)

Code Source - développement open source
Function UpdateArticle (Id As Integer) As Integer
Function UpdateArticle (Id As Integer) As Integer
Dim s$
Dim Ret%
Dim Max%
Dim iVal%
Dim i%

UpdateArticle = False
Max = LstCrit.ListCount - 1
For i = 0 To Max
    Ret = LstCrit.Selected(i)
    If Ret = True Then
	Ret = TabCrit(i)
	If Ret > 1 Then
	    If ModeIn = 1 And IdMaitre <> 0 Then
		s = "UPDATE Article Set c" + CStr(CurCritere) + "='" + CStr(Ret) + "' WHERE Article_id=" + CStr(IdMaitre)
		Ret = pExecute(s)
	    Else
		Ret = EventObject(0,"", XASEVTOBJECT_NOTIFYPARENT, CurCritere, s)
	    End If
	Else
	    If ModeIn = 1 And IdMaitre <> 0 Then
		    s = "UPDATE Article Set c" + CStr(CurCritere) + "=0 WHERE Article_id=" + CStr(IdMaitre)
		    Ret = pExecute(s)
	    Else
		Ret = EventObject(0,"", XASEVTOBJECT_NOTIFYPARENT, CurCritere, "")
	    End If
	End If

	Exit Function

    End If
Next i

End Function

Références XAS.Technology
Cstr , EventObject ,

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