|
Generating a MessageIt's easy to create a message and populate it with data in Chameleon. First you must create an instance of the message object. To do this, you must use a generated method on the Engine object associated with the message object of the form New<Message Name>. This code fragment illustrates the technique:
The tables in the message are then populated by using the Add method to add rows to each of the tables and table groups in the message. The following code fragment shows an example of populating a message in Visual Basic:
|