Drag N Drop |
Post Reply |
Author | |
LittleJK
Senior Member Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
Posted: 05 February 2007 at 5:18pm |
Hi we were wondering if we can get some help with Dragging and Dropping from a custom commandbar control containing a Report Control in which is found on an MDI form to a child form containing a usercontrol or to the child form itself.
We have a test model of a child form that accepts an item from a report control but in our application it fails to work. Here is our example: Click on the button called Briefcase and then Drag the item in the report control to the form and release it. Thanks uploads/20070205_171645_dragdrop.zip |
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
You have to use ReportControl.CreateRecordsFromDropArray() function.
See our VB Sample, frmDragDrop form. -- WBR, Serge |
|
LittleJK
Senior Member Joined: 13 April 2006 Status: Offline Points: 168 |
Post Options
Thanks(0)
|
Yeah I figured out what the issue was... I was debugging our production code on this matter (which I didn't have a hand in writing) and found that the production code's drag n drop had a small coding error... an extra column without a ID and data was declared. Once that was removed everything worked fine. It's amazing how 1 line of code can derail something simple.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |