Kbase P34920: How to set up links for a Smart Panel to work within a windo
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/3/2003 |
|
Status: Unverified
GOAL:
How to set up links for a SmartPanel to work within a window using Progress 8.x ADM.
GOAL:
How to create a link between a SmartPanel and a SmartQuery.
GOAL:
How to get a SmartPanel to work with a SmartViewer.
FACT(s) (Environment):
Windows
FACT(s) (Environment):
Progress 8.x
FIX:
This will provide a basic example using the sports database.
1. Within the UIB, connect to a copy of sports database.
2. Create a SmartQuery using the customer table, and save the SmartQuery as q-cust.w and close the SmartQuery object.
3. Create a SmartViewer.
4. Click on the DB Fields button on the UIB Palette, and place some fields from the customer table onto the SmartViewer. Save the SmartViewer as v-cust.w and close the SmartViewer object.
5. Create a new SmartWindow.
6. Click on the SmartQuery button on the Palette, select the q-cust.w file and place it onto the SmartWindow.
7. Click on the SmartViewer button on the Palette, select the v-cust.w file and place it onto the SmartWindow. When the wizard pops up, accept the Record link between the SmartQuery and SmartViewer.
8. Click on the SmartPanel button on the Palette, select the p-navico.r file and place it onto the SmartWindow. When the wizard pops up, accept the Navigation link between the SmartPanel and the SmartQuery.
You should now be able to run your SmartWindow and you can navigate back and forth through the customer records.