|
|
|
|
|
<Scheduler>.DeleteResource (Function) In french: <Planning>.SupprimeRessource Deletes a resource from a Scheduler control. Caution: If the Scheduler control is linked to a data source, deletion is performed only in the field: appointments linked to the resource are not deleted from the data source..
MonTitre is string
DébutRDV is DateTime
FinRDV is DateTime
NBressource is int
MonTitre = "Réunion commerciale"
DébutRDV = DateSys() + "17000000"
FinRDV = DateSys() + "17300000"
NBressource = PLN_Planning1.AjouteRessource("Florence" + gStoredValue("Flo"))
PLN_Planning1.AjouteRendezVous("Flo", MonTitre, DébutRDV)
MonTitre = "Réunion 2"
DébutRDV = DateSys() + "17300000"
FinRDV = DateSys() + "18000000"
PLN_Planning1.AjouteRessource("Emmanuel" + gStoredValue("Manu"))
PLN_Planning1.AjouteRendezVous("Manu", MonTitre, DébutRDV)
ResSup is boolean
ResSup = PLN_Planning1.SupprimeRessource("Flo")
IF ResSup = True THEN
Info("Ressource supprimée")
END
Syntax
<Result> = <Scheduler control>.DeleteResource(<Resource>)
<Result>: Boolean - True if a resource was deleted,
- False otherwise.
<Scheduler control>: Control name Name of Scheduler control from which the resource will be deleted. This field may correspond to: - the Scheduler control of a window,
- the Scheduler control of a page,
- the Scheduler control of a report.
<Resource>: Character string Name of resource to delete.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|