FormGivens et FormGiven



  1. Pour lire les différents champs de la table se trouvant dans les objets :

    Planning.Gestion.FormGivens.FormGiven(Index).GetTeacherId()
    Planning.Gestion.FormGivens.FormGiven(Index).GetSituationId()
    Planning.Gestion.FormGivens.FormGiven(Index).GetFormTypeId()
    Planning.Gestion.FormGivens.FormGiven(Index).GetFormationId()
    Planning.Gestion.FormGivens.FormGiven(Index).GetDateGiven()
    Planning.Gestion.FormGivens.FormGiven(Index).GetTime()
    Planning.Gestion.FormGivens.FormGiven(Index).GetTimeFrom()
    Planning.Gestion.FormGivens.FormGiven(Index).GetTimeTo()

  2. Pour écrire dans les différents champs de la table dans les objets:

    Planning.Gestion.FormGivens.FormGiven(Index).SetTeacherId(SetTeacherId)
    Planning.Gestion.FormGivens.FormGiven(Index).SetSituatioId(SetSituationId)
    Planning.Gestion.FormGivens.FormGiven(Index).SetFormTypeId(FormTypeId)
    Planning.Gestion.FormGivens.FormGiven(Index).SetFormationId(FormationId)
    Planning.Gestion.FormGivens.FormGiven(Index).SetDateGiven(DateGiven)
    Planning.Gestion.FormGivens.FormGiven(Index).SetTime(Time)
    Planning.Gestion.FormGivens.FormGiven(Index).SetTimeFrom(TimeFrom)
    Planning.Gestion.FormGivens.FormGiven(Index).SetTimeTo(TimeTo)

  3. Pour récupérer un élément du tableau des objets:

    Planning.Gestion.FormGivens.GetFormGiven(Index)

  4. Pour retourner le nombre total d'éléments du tableau d'objets:

    Planning.Gestion.FormGivens.GetMaxIndex()

  5. Pour enregistrer la connexion à la base de données pour la table:

    Planning.Gestion.FormGivens.SetConnection(Connection)

  6. Pour créer le premier objet vide du tableau d'objets:

    Planning.Gestion.FormGivens.Class_Initialize()

  7. Pour supprimer tous les anciens objets du tableau des objets:

    Planning.Gestion.FormGivens.Initialize()

  8. Pour ajouter un objet vide dans les objets et mettre l'indicateur de mise à jour à ajout:

    Planning.Gestion.FormGivens.Add()

  9. Pour changer l'indicateur de mise à jour à suppression:

    Planning.Gestion.FormGivens.Delete(Index)

  10. Pour mettre l'indicateur de mise à jour à modification:

    Planning.Gestion.FormGivens.UpDate(Index)

  11. Pour mettre l'indicateur de mise à jour à neutre:

    Planning.Gestion.FormGivens.Nul(Index)

  12. Pour lire tous les enregistrements de la table "FormGiven" et les garnir dans les objets :

    Planning.Gestion.FormGivens.ReadAll()

  13. Pour passer les éléments des objets dans la base de données :

    Planning.Gestion.FormGivens.SaveAll()

  14. Pour doubler les "quotes" éventuels d'un élément:

    Planning.Gestion.FormGivens.DubbelQuote(variable)

  15. Pour récupérer une référence de tous les objets d'une table particulière pour "Formgiven":

    Planning.Gestion.FormGivens.FormGiven(Index).GetSituation
    Planning.Gestion.FormGivens.FormGiven(Index).GetTeacher
    Planning.Gestion.FormGivens.FormGiven(Index).GetFormType
    Planning.Gestion.FormGivens.FormGiven(Index).GetFormation