Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ItemChanged Event for a DDDW column?

Status
Not open for further replies.

kaul125

Programmer
Jan 29, 2002
87
US
I have a datawindow that has a DDDW for the column. In my itemchanged event I have:

I check to see if this column is for the 'physician'. If it is I want to open up another window. However, If I selected physician a for the first time, the window opens.(i.e. - PB recognizes that a new phys. was selected.) But If I go ahead and select the same phys(physician a) again without first selecting another one, PB does not recognize this as a new change(new item selected).

Is there a way to kick off the itemchanged event even though I did not select a new item? I want the user to be able to go back into this new window(window that opens up from the itemchanged event) even thought they did not change the item selected.

Thanks,

Keith
 
Keith,

If you are using a dddw there should be a selectionchanged event for the drop down datawindow. Put your code in the selection changed event instead of itemchanged and see if that does the trick.

Daniel
 
Daniel,

When I looked at the individual scripts for the datawindow I did not see this event for the datawindow. I'm using PB6.5. Is this a later version event?

I looked in PB help and the 'selectionchanged' event is valid only for DDLB, DDPLB, LB, PLB, Tab control, TreeView control.

Is there a user event I can add to the DW to accomplish this task?

Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top