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!

how do i edit contents of a datawindow control

Status
Not open for further replies.

rrajarat

MIS
Oct 8, 2002
42
US
Hi,
I am using powerbuilder 6. My quwstion is, how can a edit the contents of a datawindow control and then update the table with the infomation. Right now my data window control won't let me select a row or edit any of its contents.

I already tried making the datawindow upgradeable in the datawindow painter.

Ramanan
 
Do the fields have a tab order (should be > 0)? Are the fields protected (should be no)? Do you have the update properties set (for when you want to save to the DB)?
 
Hi,

You may like to inspect these areas:

. dwo -> Rows -> Update Properties (Allow Updates, Table to update...)
. dwo -> All columns -> Protect Property
. dwo -> All columns -> Tab Sequence (should be > 0)
. dwc -> Properties -> Enabled property
. dwc -> Script -> dw.Object.Datawindow.ReadOnly attribute
. dwc -> GetFocus! event script
. pfc -> of_SetUpdateable()
. pfc -> w_Sheet -> of_SetUpdateable()
. pfc -> w_Sheet -> of_SetUpdateObjects()

dwo: Datawindow Object
dwc: Datawindow Control
pfc: If you are currently using the PFC

Regards,

--
PowerObject!
-----------------------------------------
PowerBuilder/PFC Developers' Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top