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!

GetFullState - SetFullState

Status
Not open for further replies.

lolo327

Programmer
Nov 25, 2003
14
GB

Here is a piece of code.

/--------------------------
u_dw ldw
string ls1, ls2, ls3

ldw = Create u_dw

li = dw_list.GetFullState(lbl)
li = ldw.SetFullState(lbl)
/------------------------------

This code returns -1

Is anybody know why ?

Thanks

 
does you datawindow have an object associated with it? and lbl is declared as a blob?
 
Read somewhere in internet

GPF on DW SetFullState (PB6.0)
Using Getfullstate on a server application to fill a DataStore and then passing it to a blob for the client application, it looks like the SetFullstate wasn't working properly or gives some GPF.Specially when the datastore in my client side already have data in it.

A workaround to this problem is to reassign the dataobject property of the datastore to itself before the SetFullState(). Giving something like this :

dw_product.dataobject = dw_product.dataobject
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top