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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checking GetItemStatus?

Status
Not open for further replies.

kaul125

Programmer
Jan 29, 2002
87
0
0
US
I'm using the GetItemStatus datawindow function and getting the status for the whole row from the Primary buffer. I have multiple fieldw on my screen.

When I change some fields this function will return 'datamodified!'. However, there is one field, when I change it, the function will only return 'notmodified'. This causes the modifiedcount to be 0. This one field is a string field and is a long varchar in Sybase SQL Anywhere database.

Why is it that when I change the value in this field, GetItemStatus Returns 'notmodified!' instead of 'datamodified'. Also, this field is set as updateable.

I'm using PB6.5
Thanks,

Keith
 
Dear Kaul125,

Call AcceptText function and check for itemerror event. I think value in edit control is not assigned to column.

Thanks,
Abhijit.
 
check maybe your update properties in the datawindow object
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top