|
![]() |
| Please Note: This document describes only one of the many possible ways schedules can be generated from Microsoft Office Access. Please make note of the many ways this can be accomplished: | ||
|
||
IntroductionIt’s easy to create Gantt charts from your Microsoft Office Access databases, or any program that supports .CSV (comma separated variable) files, using Milestones Professional. In many corporations, one department maintains an Microsoft Office Access database with dates and project resources while another department creates the schedules that are shown to clients and/or co-workers. Milestones makes it easy to create schedules using your Access data by the following steps: |
||
Step-By-StepThis section describes how you can export the information from Microsoft Office Access using Microsoft Office Access menus. The Full Automation section, found after the Step-by-Step section, describes how you can make the importing and exporting process automatic, so users of your application do not need to perform the detailed steps. |
||
|
In Microsoft Office Access, your schedule information is stored in a Microsoft Office Access table. The following steps are involved: |
||
|
||
|
||
Mapping your Microsoft Office Access to data to a Milestones schedule
|
||
Automating the Exporting/Importing ProcessMicrosoft Office Access developers can generate schedules automatically from Microsoft Office Access databases using two simple macro statements. Before implementing full automation, we recommend that you do the following:
In your Microsoft Office Access database, create a new macro with 2 statements: 1 The first statement should be TransferText with the following parameters: : Export Delimited Specification Name: (MS Access lets you save a specification name when you export files. If necessary, provide the name here.) Table Name: The name of the table you are exporting. This is the table containing your schedule information. File Name: Specify a file name, such as \ACCESS\schddata.csv HasFieldNames: No 2 The second statement should be RunApp. You might have many different templates set up for use by your Access application. For example, you might have one template that you will call up for presentation to someone who wants project detail, and one template for presentation to an executive who wants to view summary information. If you have any questions or comments about the information in this document, please contact KIDASA’s product support at 512-328-0168, or support@kidasa.com. |
||
OLE AutomationUsing OLE Automation, you can obtain access to the individual objects within a Milestones Professional schedule, such as cells, symbols, titles, etc. This interface allows you to create and manipulate the elements of a schedule from other programs such as Visual Basic or VBA or any other OLE Automation Controller that conforms to the OLE 2.0 standards. To learn more about OLE Automation, visit our Programmer's Page. |

