Help - Can't get Drop Down Data Window (DDDW) to work w/Sybase

Help - Can't get Drop Down Data Window (DDDW) to work w/Sybase

Post by Terry L » Mon, 11 Sep 1995 04:00:00



I'm having great difficulty getting my DDDW's to work in PB 4.0 & Sybase.  

For Some reason, I am unable to get the "drop down part" to work.  When I
click on the down arrow, nothing happens.  In fact, if I click on any other
field on the window, nothing happens.  When I use these same tables w/Watcom
DB, they work as expected....I can hit the arrow key & my list of items is
displayed.

I am using PowerCerv's PowerTool.  I have tested using inherited and
non-inherited windows (from PowerTool) when connecting to Watcom's DB &
Sybase and the problem only exists when connecting to Sybase.

Config:  Sybase running on Novell (VLM's), Windows 3.1, PB 4.0, 16MB RAM &
PowerCerv's PowerTool.

Any help is greatly appreciated as this is critical.  Thanks in advance.
--
**************************************************************

*                       Hyattsville, MD USA                  *
*                'A goal is a dream taken seriously'         *
**************************************************************

 
 
 

1. dddw won't drop down

I wonder if someone might be able to help me with a dddw tha won't drop.
This is a new app I'm writing in PB4, to which I just upgraded.

The opening window is w_tasks, a window containing 5 buttons - a kind of
'menu' of tasks.  The user clicks one, depending on what task he wants to
perform. Clicking the button in question opens a different window
(w_maint)
with the "Open(w_maint)" command (that's the only code behind the button).

w_maint contains a datawindow control (dw_dropdown) using a datawindow
(d_company) based on a 2-column table.  Column A (division) has an edit
style
of dddw, column B (name) is just 'edit' style.  In the 'DDDW Edit Style'
box
for division, I have the following:

   Data Window:    d_company         V Scroll Bar is the only option
selected.
   Display column:  division         Width of DropDown is 500%
   Data column:      division

The 'open' event for w_maint contains:  
SetTransObject(dw_dropdown,sqlca)
                                          Retrieve(dw_dropdown)

When the w_maint window opens, the first row of my table shows in the
dddw.
But there is no 'dropdown' arrow.  Tabbing into or clicking in the
datawindow control has no effect.

The kicker is that I have another app, written in PB3, that has an
identical
dddw.  I converted it to PB4 and it works fine.  I've tried to duplicate
it,
but just can't get it to work.  (Please don't suggest inheritance, I
haven't
even looked up the definition yet, and my deadline doesn't provide for
minor
tasks like 'learning' or 'training'!)

Thanks in advance for any help,
Dave

2. My CD-ROM stops working, locks up system

3. Help : Refreshing the Data Window within a Drop Down List Box

4. Warpstock Europe teams up with OS2 World.Com

5. HELP!!!!!How To Make Drop Down Data Window Selection NULL

6. Time Management

7. Drop Down Data Window Edit Style Help

8. Why do Drop Down List Boxes drop down off screen?

9. drop down data window

10. Drop Down Data Window partial retrieve?

11. Drop Down Data Window Arrows

12. Drop down data windows