Crystal Reports XI Official Guide
Deleting objects is much like creating them. The InfoStore must be queried and multiple objects (often just one) retrieved. The collection of InfoObjects is iterated or accessed using the collection's get(index number) accessor method. Then, the collection's delete(IInfoObject) method is called and, finally, the entire collection is committed. The following function deletes a specific recurring job (or subscription) for a specific user. Supplying the user ID is optional in this case. [View full width] public static void deleteRecurringSchedule(IInfoStore iStore,int userID, int
|
Категории