Record Pointer and BBS problem


Author
Message
Rainer Kempf, RK
Rainer Kempf, RK
StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)StrataFrame Novice (95 reputation)
Group: StrataFrame Users
Posts: 55, Visits: 1.4K
Hi,

I have a a simple configuration. Form - BusinessObject on it - BBS and DevExpress DataGrid.



In my code I do next:

1) Make new instance of MyForm (CurrentRowIndex=0)

2) MyBusinessObject.Seek() - the pointer goes to 4 (CurrentRowIndex=4)

3) Then change value of one of the field in businessobject - for example MyBusinessObject.captionfield = "New Value" - this like change record 4

4) MyBusinessObject.CurrentRowIndex after assign new value goes back to 0!!! (here is a problem)

5) My next code line change another property for example MyBusinessObject.anotehrfield = "Another field value" - and - this line of code change record 0 !!.. but not 4

4) then MyForm.showDialog()



So.. after first set of businessobject property, record pointer goes to the first record!



When I REMOVE.. BBS from the form - my code works as expected. After Seek - pointer on record 4.. after change field - pointer still on record 4.



Any help.

Thanks



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search