|
-
November 30th, 1999, 08:14 AM
#1
DataGrid
Need help with DataGrid.
I have a form with DataGrid bound to database (access). I have another form with another DataGrid. What I need to do is to make the user able to choose one or more row(s) from the first DataGrid in the first form and then "copy" what has been chosen into the second DataGrid in the second form. I've been trying to look for DataGrid's properties & methods that can do this unsuccessfully. Can VB actually do this thing? Or worst come to worst can I "copy" into texboxes in the second form instead of DataGrid ?
I appreciate anyone who can help me very very much..I'm kinda DESPERATE : ( , Thanks, Alec.
-
December 1st, 1999, 06:56 AM
#2
Re: DataGrid
Just the other day i was asking a similar question.. just search for DBGrid, may be you will hit it.
DbGrid has a SelStart and SelEnd or something similar, using which you can get the data and transfer. I dont know how you can get multiple rows to be selected in Bound-Mode, because each selection means updating the current record, ( with attendent reposition event in the Data control, if you have one). so multiple rows selection is not possible in Bound mode, so you should try unbound.
If you can hold on for a day or two, i will see if i can generate an example!!.. for i am also working on similar thing now..
RK
-
December 4th, 1999, 09:13 PM
#3
Re: DataGrid
Hi Ravi!
Thank you so much for your response. I'll try to do some research with your suggestion. But if you've found out the answer and work for you I'll appreciate
it if you could show me how you did it. I'll let you know as soon as I find the answer to my problem ok?
Thanks again! Heru
-
December 11th, 1999, 01:47 PM
#4
Re: DataGrid
Hi Ravi where are you????
I've tried your suggestion but I'm confused as to how should I refer the text inside the DataGrid?
These text are in cells right?
I went to MSDN library for help but their example using actual text not text inside a cells.
Have you found solution with yours??? I'm desperate Ravi..please help!!! thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|