What are 2 ways to populate a drop down datawindow?

Posted on 2001-06-16
Last Modified: 2013-12-26
What are the two ways to populate a drop down datawindow?
Question by:gordito
  • 3
  • 2

Accepted Solution

hink earned 50 total points
ID: 6202393
1) Plain DDDW's, that don't need any retrieval arguments, will be retrieved automatically at first retrieve of the main DW. It uses the same transaction object as the main DW.

2) DDDW's that needs arguments, another transobject or special handling, must be populated manually (by Your code). At first, use GETCHILD function to get the datawindowchild object (the reference to the child DW). Then You can call SETTRANSOBJECT, RETRIEVE and many other functions (INSERT, FILTER etc.) to handle this child datawindow.

Expert Comment

ID: 6219449
If the main DW is external (not SQL) DDDW has always to be populated by calling RETRIEVE as at the p.2

Expert Comment

ID: 6223448
You can assign select command later (to external DW's) using setsqlselect or modify ( Then the DDDW tries to retrieve data as though to be set in the painter. But is is better to fabricate a SQL Select, otherwise is should not have any retrieval argument. For example "select convert(varchar(20),'') as my_column1, .... from row_generator". You are able to define retrieval arguments, even if they are not used. They can be used when we will set sqlselect in runtime.
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Expert Comment

ID: 6271401
as I get your Hink point,
if you setsql to external DW, it would trigger retrieve?
Or I misundenstand some? Lev

Expert Comment

ID: 6276033
Yes, You will obtain SQL Error like "Empty SQL command". But DW Painter doesn't allow to use DW as DDDW, when it doesn't have select of procedure datasource (when it is external). The source SQL must be present. You can obtain this error only when You will assign the DDDW at runtime.

For example:"d_samle_external_dw".

When main DW is retrieved (or first row is inserted), it tries to retrieve all DDDW's that are still empy (have no rows). Before it, You can set another SQL command or retrieve it with arguments if needed (or both).

Expert Comment

ID: 8297036
Force Accepted

Community Support Moderator @Experts Exchange

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CKEditor - will not function 7 70
How search webpage "viewable text" only 1 79
Online file editor, manager 6 77
Embarcadero C++ Builder XE10.1 Berlin red arrow Indicator 2 37
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question