SAP Knowledge Base Article - Preview

2382191 - Updatewhereclause incorrectly defaults to yes - SAP PB .NET 12.6

Symptom

In PowerBuilder 12.6 .NET, the syntax for a DataWindow has the updatewhereclause set to no:

column=(name=compute_0003 dbname="compute_0003" type=long identity=yes updatewhereclause=no )
column=(name=compute_0004 dbname="compute_0004" type=long identity=yes updatewhereclause=no )

When using datawindow.syntax.xml or datawindow.syntax, the output shows the columns defaulted to yes instead of no.

When you create a datawindow or datastore from this syntax, the DataWindow's updatewhereclause properties will be yes instead of no.

xml = ds.Describe("datawindow.syntax.xml")
messagebox("here is the syntax",xml)
ds1 = create DataStore
ds1.Create(xml)

or

xml = ds.Describe("datawindow.syntax")
messagebox("here is the syntax",xml)
ds1 = create DataStore
ds1.Create(xml)


 


Read more...

Environment

  • SAP PowerBuilder 12.6

Product

SAP PowerBuilder 12.6

Keywords

pb,powerbuilder,.net,updatewhereclause,datawindow.syntax.xml,datawindow.syntax,xml , KBA , BC-SYB-PB , PowerBuilder , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.