Contents


1. Preface
1.1. Release notes
2. OLE in RAPGEN
2.1. Step 1 - Defining a supplier letter
2.2. Step 2 - Adding the content of a Microsoft Word document as field
2.3. The final supplier letter
2.4. Using link instead of embedded
3. OLE in IQ/DATAMASTER
3.1. Creating a simple query
3.2. Adding the OLE object step by step
3.3. Using 3 button fields for OLE functionality
3.4. How to create the object
3.5. How the object can be saved
3.6. Performing actions on the object
3.7. How to work with the final query
4. OLE functions
4.1. View of the on-line documentation
4.2. General error codes
4.3. OleAllocate - Allocate a new object
4.4. OleFree - Free the object
4.5. OleLinkToFile - Link to an object file of any type
4.6. OleEmbedded - Create an embedded object
4.7. OleFillObjectMenu - Fill a menu with all registered objects
4.8. OleFillVerbMenu - Fill a menu with the object verbs
4.9. OleDoVerb - Perform an object verb
4.10. OleSave - Save object as embedded into file
4.11. OleLoad - Load an embedded object from file
4.12. OleGetInfo - Return information about object
4.13. OleSetInfo - Set object Information
4.14. OleMenuCreate - Create a menu
4.15. OleMenuDestroy - Destroy a menu
4.16. OleMenuAdd - Add item to a menu
4.17. OleMenuSelect - Select from menu at the current cursor location
4.18. OleDialogCreate - Standard dialog for creating embedded and linked objects
4.19. OleDialogFile - Standard dialog for selecting file name
5. Technical specifications
5.1. Requirements
5.2. Files installed

Figure list


1. Defining the supplier letter
2. Adding fields to print on letter
3. Defining the OLE 2.0 Object field
4. How to select the requested OLE object type
5. Selecting Microsoft Word as object type
6. Entering the content of the object in Microsoft Word
7. Layout of letter including the OLE object content
8. The printout of the supplier letter
9. Linking to an existing file
10. Simple supplier query in IQ
11. Free field defined as OLE object
12. Buttons to control the OLE object
13. Calculations for creating an OLE object
14. Calculations for saving the created OLE object
15. Calculations for performing actions on the OLE object
16. User creating an object for supplier no 205
17. User entering the note in Microsoft Word
18. IQ Query with user written note in Microsoft Word
19. On-line documentation of the functions

Index


Action


3.7. How to work with the final query
4.9. OLEDOVERB - Perform an object verb
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs
3.6. Performing actions on the object

Create


3.4. How to create the object
3.7. How to work with the final query
4.18. OLEDIALOGCREATE - Standard dialog for creating embedded and linked objects
4.6. OLEEMBEDDED - Create an embedded object
4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs
4.16. OLEMENUADD - Add item to a menu
4.14. OLEMENUCREATE - Create a menu
4.10. OLESAVE - Save object as embedded into file
1. Preface

DATAMASTER


3. OLE in IQ/DATAMASTER
4.10. OLESAVE - Save object as embedded into file

Embedding


1. Preface
2.4. Using link instead of embedded

GETINFO


4.19. OLEDIALOGFILE - Standard dialog for selecting file name
4.9. OLEDOVERB - Perform an object verb
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs
4.12. OLEGETINFO - Return information about object

IQ


3.1. Creating a simple query
3.7. How to work with the final query
3. OLE in IQ/DATAMASTER
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs
4.12. OLEGETINFO - Return information about object
1. Preface
1.1. Release notes

Letter


2. OLE in RAPGEN
1. Preface
2.1. Step 1 - Defining a supplier letter
2.2. Step 2 - Adding the content of a Microsoft Word document as field
2.3. The final supplier letter

Linking


1. Preface
2.4. Using link instead of embedded

OLE


3.2. Adding the OLE object step by step
4.2. General error codes
4. OLE functions
3. OLE in IQ/DATAMASTER
2. OLE in RAPGEN
4.3. OLEALLOCATE - Allocate a new object
4.19. OLEDIALOGFILE - Standard dialog for selecting file name
4.4. OLEFREE - Free the object
4.5. OLELINKTOFILE - Link to an object file of any type
3.6. Performing actions on the object
1. Preface
1.1. Release notes
5.1. Requirements
2.2. Step 2 - Adding the content of a Microsoft Word document as field
3.3. Using 3 button fields for OLE functionality
2.4. Using link instead of embedded
4.1. View of the on-line documentation

OleAllocate


4.3. OLEALLOCATE - Allocate a new object
4.6. OLEEMBEDDED - Create an embedded object
4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.4. OLEFREE - Free the object
4.5. OLELINKTOFILE - Link to an object file of any type

OleDialogCreate


4.3. OLEALLOCATE - Allocate a new object
4.18. OLEDIALOGCREATE - Standard dialog for creating embedded and linked objects
4.6. OLEEMBEDDED - Create an embedded object
4.5. OLELINKTOFILE - Link to an object file of any type

OleDialogFile


4.19. OLEDIALOGFILE - Standard dialog for selecting file name
4.12. OLEGETINFO - Return information about object

OleDoVerb


4.9. OLEDOVERB - Perform an object verb
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs

OleEmbedded


4.3. OLEALLOCATE - Allocate a new object
4.18. OLEDIALOGCREATE - Standard dialog for creating embedded and linked objects
4.6. OLEEMBEDDED - Create an embedded object
4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.5. OLELINKTOFILE - Link to an object file of any type

OleFillObjectMenu


4.6. OLEEMBEDDED - Create an embedded object
4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.16. OLEMENUADD - Add item to a menu

OleFillVerbMenu


4.9. OLEDOVERB - Perform an object verb
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs

OleFree


4.3. OLEALLOCATE - Allocate a new object
4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.4. OLEFREE - Free the object

OleGetInfo


4.18. OLEDIALOGCREATE - Standard dialog for creating embedded and linked objects
4.19. OLEDIALOGFILE - Standard dialog for selecting file name
4.12. OLEGETINFO - Return information about object

OleLinkToFile


4.3. OLEALLOCATE - Allocate a new object
4.18. OLEDIALOGCREATE - Standard dialog for creating embedded and linked objects
4.6. OLEEMBEDDED - Create an embedded object
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs
4.12. OLEGETINFO - Return information about object
4.5. OLELINKTOFILE - Link to an object file of any type
4.14. OLEMENUCREATE - Create a menu

OleLoad


3.2. Adding the OLE object step by step
4.11. OLELOAD - Load an embedded object from file
4.10. OLESAVE - Save object as embedded into file

OleMenuAdd


4.16. OLEMENUADD - Add item to a menu
4.14. OLEMENUCREATE - Create a menu
4.15. OLEMENUDESTROY - Destroy a menu
4.17. OLEMENUSELECT - Select from menu at the current cursor location

OleMenuCreate


4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs
4.16. OLEMENUADD - Add item to a menu
4.14. OLEMENUCREATE - Create a menu
4.15. OLEMENUDESTROY - Destroy a menu
4.17. OLEMENUSELECT - Select from menu at the current cursor location

OleMenuDestroy


4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.16. OLEMENUADD - Add item to a menu
4.14. OLEMENUCREATE - Create a menu
4.15. OLEMENUDESTROY - Destroy a menu
4.17. OLEMENUSELECT - Select from menu at the current cursor location

OleMenuSelect


4.6. OLEEMBEDDED - Create an embedded object
4.7. OLEFILLOBJECTMENU - Fill a menu with all registered objects
4.8. OLEFILLVERBMENU - Fill a menu with the object verbs
4.16. OLEMENUADD - Add item to a menu
4.14. OLEMENUCREATE - Create a menu
4.17. OLEMENUSELECT - Select from menu at the current cursor location

OleSave


4.5. OLELINKTOFILE - Link to an object file of any type
4.11. OLELOAD - Load an embedded object from file
4.10. OLESAVE - Save object as embedded into file

Query


3.2. Adding the OLE object step by step
3.1. Creating a simple query
3.7. How to work with the final query
3. OLE in IQ/DATAMASTER
4.3. OLEALLOCATE - Allocate a new object
4.4. OLEFREE - Free the object
1. Preface

RAPGEN


2. OLE in RAPGEN
1. Preface
1.1. Release notes
2.2. Step 2 - Adding the content of a Microsoft Word document as field

Report


4.3. OLEALLOCATE - Allocate a new object
4.4. OLEFREE - Free the object
1. Preface
2.4. Using link instead of embedded

TRIO


3.7. How to work with the final query
4. OLE functions
3. OLE in IQ/DATAMASTER
4.9. OLEDOVERB - Perform an object verb
4.6. OLEEMBEDDED - Create an embedded object
4.5. OLELINKTOFILE - Link to an object file of any type
4.10. OLESAVE - Save object as embedded into file
1. Preface
5.1. Requirements
2.1. Step 1 - Defining a supplier letter

Version


4.2. General error codes
5.1. Requirements