| XML Kiosk |
| Technologie | XAS.Technology | Version | V 6.0.1 |
| Dernière modification | Jeudi 8 Juillet 2010 | Par | Zaïr BEZGHICHE |
| Dernière vérification | Mardi 13 Juillet 2010 | Par | Support France |
| Thème | Administration des entités, (Web, Web Services, PDA, WidGet, Fat Client) | Fonction | FrmEntity.DoSearchEntity |
| Prototype |
| Function DoSearchEntity (Typeid As Integer) As Integer |
| Usage | |||
| Administration-des-entites.DoSearchEntity(...) | |||
| HTTP (GET,POST) | SOAP WSDL | SOAP REST | XML-RPC |
| Format de sortie | |||
| XML | HTML | TEXT | EXCEL(CSV) |
| Code Source - développement open source |
| Function DoSearchEntity (Typeid As Integer) As Integer |
Function DoSearchEntity (Typeid As Integer) As Integer
Dim sData$
Dim Ret%
Dim s1$
Dim s2$
Dim i%
Dim j%
Ret = DoGrid(GridList, 100)
Ret = DoClearAll(0)
LabMsg(0).ForeColor = 0
LabMsg(0).Caption = ""
LabMsg(1).ForeColor = 0
LabMsg(1).Caption = ""
s1 = TxR(0).Text
s2 = TxR(1).Text
PicBtn(7).Visible = False
sData = "SELECT RaisonSociale, Name, prenom, adresse, cp, ville,CodeClient "
sData = sData + " FROM Client WHERE CodeClient.xxKey != 0"
sData = sData + " AND type.integer = " + CStr(Typeid)
If s1 <> "" Then
sData = sData + " AND RaisonSociale Like '*" + s1 + "*' "
End If
If s2 <> "" Then
sData = sData + " AND numcompta Like '*" + s2 + "*' "
End If
i = 1
Ret = pTmpExecute(sData)
If Ret = True Then
While (Ret = True)
GridList.Row = i
For j = 0 To 6
GridList.Col = j + 1
GridList.Text = pTmpGetItem(j)
Next j
i = i + 1
If i > MaxGridRow Then
MaxGridRow = i
GridList.Rows = i
Exit Function
End If
If i > 2 Then
Cel(2).Visible = False
Cel(1).Visible = True
End If
Ret = pTmpMoveNext(0)
Wend
MaxRow = i
GridList.Rows = i
Else
LabMsg(0).Caption = "Aucune Entité ne correspond à votre recherche ..."
LabMsg(1).Caption = "Aucune Entité ne correspond à votre recherche ..."
LabMsg(0).ForeColor = 255
LabMsg(1).ForeColor = 255
End If
End Function
|
| Références Composants |
| Administration-des-entites-FrmEntity-DoGrid, Administration-des-entites-FrmEntity-DoClearAll, |
| Références XAS.Technology |
| Cstr , |
| 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 |