INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

DDDW does nothing when I click down arrow

DDDW does nothing when I click down arrow

(OP)
I have a dropdown datawindow [dddw] that gets populated with a list of towns for our state.
There are no retrieval argument - just select all from our Town_tbl.
This dddw is actually 3 columns, town_nme, zip and town_id where town_ids are unique.
The dddw gets populated via a function call in my ue_retrieve for the master dw.
The dddw is assocated with the town_id column of the master dw via its EDIT property.
When the screen opens, the dddw correctly shows the matching town name for the town_id in the master dw.

However, when I click on the dddw at runtime, it does not show the town list....nothing happens.

// code to populate dddw - gets called from dw_master.ue_retrieve
adw_datawindow.GetChild("INDIVIDUAL_TBL_MAIL_TOWN_ID", ldwc_town_list)
ldwc_town_list.SetTransObject(sqlca)
ldwc_town_list.Retrieve()

I've checked the row count of the dddw after the retrieve and confirmed that the dddw actually is getting populated [387 in this case].
li_rc = ldwc_town_list.RowCount()

I also have checked it in the item clicked event for dw_master town_id column and count still shows items there.

I checked and the dddw update properties are good - allow updates and all fileds are listed.

I verified that the clicked event happens and identifies the town_id field.

I appreciate any assistance, recommendations, etc.

thanks

RE: DDDW does nothing when I click down arrow

Is the field protected or has a tab order of 0?

Matt

"Nature forges everything on the anvil of time"
www.anvil-of-time.com

RE: DDDW does nothing when I click down arrow

(OP)
Thanks MBalent.
That was it.
The dddw had a tab order of zero.
I changed it to a valid positive number and now it works !!!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close