Thursday, September 3, 2015

Create a hyperlink to call a secondary page from the Main page

1. select Insert, then selectPush Button/Hyperlink.
2. Click where you want the upper, left-hand corner of the control to begin.
3. A push button of small image size appears.
4. Double-click the push button to access the Push Button/Hyperlink Properties dialog box.
5. On the Type tab, select whether the control appears as a push button, hyperlink, or action widgit.
6. Select a destination type from the Destination drop-down list box.
7. See Specifying Type Properties for Push Buttons or Links.
8. Select the record and field names with which you want to associate the push button or link.
9. Select any of the remaining Type options based on your destination type.
10. On the Use tab, select the purpose of the control.
11. See Specifying Use Properties for Push Buttons or Links.
12. Save the page.
Hyperlink in the Main Page



Use a Domodal function to call the secondary page from main page.

Hyperlink Properties
Secondary Page Properties




In the hyperlink properties we mention the field name,In the field change event of the same field write this code

DoModal(Page.Secondary page name, "Sample Secondary Page", - 1, - 1, 1, Record.table name, CurrentRowNumber());


In  secondary page properties we have the OK and Cancel button,to Activate the functionality of  OK button insert a secondary page button in the main page and assign the secondary page name
Step1:Insert secondary page
Step2:Assign the secondary page name,which is triggered using the hyperlink
OK Button Activation

No comments:

Post a Comment