MS Access |
Post Reply |
Author | |||
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
Posted: 24 July 2006 at 4:16pm |
||
Hi,
I checked the calendar sample (using ms access database), but I did not quite understand it (I am new).
So, some help here:
1- how to connect the calendar control to database (db1.mdb)?
2- how to retrieve the data from a recordset (rstAppointment) for today's date or any date selected by the user.?
3- how can I display the result for the the different type of view (week view, workweek view, month view), do I have to use code to do so, or it will be built in?
4- how can I save a new data entered by the user to the rstAppointment?
Thank you,
|
|||
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
||
Hi,
1. As you can see in this sample, when loading a form, you connect CalendarControl with the MDB file itself:
Then Calendar uses internal functionality to access tables with data. 2. Using Calendar's functionality:
3. You can switch views programmatically like:
In the sample views are shown as a set of buttons, clicking runs a code above. 4. Data will be saved automatically to the appropriate tabe (Table Event for appointments). Hope this helps. -- WBR, Serge |
|||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |