talal Posts:31
 |
| 06/07/2007 9:48 AM |
|
I like how the demo is created and i am trying to figure out how it was done. I want to be able to link modules (not just one to many but sometimes one-to-one). How do i get that done? Lets say as example; i have a Contact table that has an Organization ID that links to Organazation table. I would like to display the Contact information and information about the organization in a seperate moduel on the same page: e.g. Module 1: Contact: FNName LN Phone Module 2: (Linked to the OrgID in the contacts module on the page) Organization Name Organization address how do i do that? thank you |
|
TaLaL |
|
|
host Posts:93
 |
| 06/07/2007 10:23 AM |
|
When you install a module, 3 modules are actually created. The main module is the name you gave your module( ie. Employees), if you use the {SelectLink} in this module then when a record is selected, the Display(Employees) module responds and allows you to template the display of the current record. I believe this is the functionality that you're seeking. The 3rd module is the Add(Employees) module and is used to display the Add/Edit/Delete form on the same page as your main module. |
|
|
|
|
talal Posts:31
 |
| 06/07/2007 10:32 AM |
|
thanks for the quick response. But how do i link Employee Display module to show also the corresponding Organization (OrgID) in the Organization Display module? |
|
TaLaL |
|
|
host Posts:93
 |
| 06/07/2007 10:42 AM |
|
| The 2nd module Organization will respond to a querystring variable (OrgID if this is the Response Variable you used in the module options) So you could build an link like a target=_blank href=........./OrgID/{fldOrgID}> in the Employee template |
|
|
|
|
talal Posts:31
 |
| 06/07/2007 10:47 AM |
|
ok that maybe possible.. how do i build a TYPE LINK? sowwi not sure what that means.. |
|
TaLaL |
|
|
talal Posts:31
 |
| 06/07/2007 10:57 AM |
|
The orgID will depend on the selected contact. Kinda similar to the demo you have |
|
TaLaL |
|
|
host Posts:93
 |
| 06/07/2007 2:22 PM |
|
Unless I misunderstand what you're doing, the How To Applicate Modules is what you're after. Are you creating Organizations before hand and presenting a list of them to the user to select from or is the organization being added after the contact is added? |
|
|
|
|
talal Posts:31
 |
| 06/07/2007 2:36 PM |
|
Yes.. this is just a sample of what i have. Lets say i have the following tables: Table: Organization OrgID, Name, Address, Fax Table: Contact ContactID, OrgID, FName, LName, Phone I created 2 modules, one for each. Now i Want to be Able to display the contact organization side by side when a contact is selected: So on the page i would have a list of contacts and when i select one it will show me the contact information and a (read only) moduel that shows the organization information I thought that that was kinda what the demo was for |
|
TaLaL |
|
|
freddand153 Posts:0
 |
| 06/06/2009 12:38 PM |
|
I also want to know how to make this relationship working, i can no undestand yet, your demo step 5, because there is no place to explain the step for making relation |
|
|
|
|
freddand153 Posts:0
 |
| 06/06/2009 12:39 PM |
|
I also want to know how to make this relationship working, i can not undestand yet, your demo step 5, because there is no place to explain the step for making relation |
|
|
|
|