| XML Kiosk |
| Technologie | XAS.Technology | Version | V 6.0.1 |
| Dernière modification | Jeudi 7 Janvier 2010 | Par | Zaïr BEZGHICHE |
| Dernière vérification | Dimanche 17 Janvier 2010 | Par | Support France |
| Thème | Administration des critères, (Web, Web Services, PDA, WidGet, Fat Client) | Fonction | FrmCrit.UpdateConso |
| Prototype |
| Function UpdateConso (Id As Integer) As Integer |
| Usage | |||
| Administration-des-criteres.UpdateConso(...) | |||
| HTTP (GET,POST) | SOAP WSDL | SOAP REST | XML-RPC |
| Format de sortie | |||
| XML | HTML | TEXT | EXCEL(CSV) |
| Code Source - développement open source |
| Function UpdateConso (Id As Integer) As Integer |
Function UpdateConso (Id As Integer) As Integer
Dim s$
Dim Ret%
Dim Max%
Dim i%
Dim sData$
UpdateConso = False
Max = LstCrit.ListCount - 1
s = "|"
For i = 0 To Max
Ret = LstCrit.Selected(i)
If Ret = True Then
s = s + CStr(TabCrit(i)) + "|"
End If
Next i
Ret = Len(s)
If Ret > 1 Then
If ModeIn = 1 And IdMaitre <> 0 Then
sData = "UPDATE Consommateur Set d" + CStr(CurCritere) + "='" + s + "' WHERE consommateur_id=" + CStr(IdMaitre)
Ret = pExecute(sData)
Else
Ret = EventObject(0,"", XASEVTOBJECT_NOTIFYPARENT, CurCritere, s)
End If
Else
If ModeIn = 1 And IdMaitre <> 0 Then
sData = "UPDATE Consommateur Set d" + CStr(CurCritere) + "='' WHERE consommateur_id=" + CStr(IdMaitre)
Ret = pExecute(sData)
Else
Ret = EventObject(0,"", XASEVTOBJECT_NOTIFYPARENT, CurCritere, "")
End If
End If
End Function
|
| Références XAS.Technology |
| Cstr , Len , 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 |