xtremecris
asked on
dbGrid question!
I want to acces the tDbGrid's data as I did in tStringGrid with the Cells[x,y] property. I have tried diferent methods but I can't seem to do it.
I used "DBGrid1.Fields[0].AsStrin g" but I get only the first row, how to I access the other one's too?
I could be something with "GotoBookmark" but I don't know how.
Please help,
Cris.
I used "DBGrid1.Fields[0].AsStrin
I could be something with "GotoBookmark" but I don't know how.
Please help,
Cris.
The bookmark has an array prperty called "Items", containing the selected rows (and a Count of them), much like a string grid. Of course, you need to "select" the rows you want to work with.
ASKER
How do I select the rows?
ASKER
Please present a solution for what I want to do! By that I mean source code included.
Best regards,
Cris.
Best regards,
Cris.
OK, Cris, I'll try to do that but I won't be able to send code until (at least) tomorr9ow. I invite other experts to do so in the meantime.
An example at:
http://www.geocities.com/eosoft/ee/Q_20974690.zip
http://www.geocities.com/eosoft/ee/Q_20974690.zip
ASKER
@esoftbg: there is nothing there(We're sorry, but this page is currently unavailable for viewing), please check the link.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks, IvanovG. An elegant solution.
always welcome :)
@xtremecris,
I have no problems to download the file Q_20974690.zip as it is declared above, but you may visit
http://www.geocities.com/eosoft/
first as a web-page and then download from the link
Q_20974690.zip
Really I don't understand what happens with my yahoo web-pages. I can access them without problems, but you are the second, who alert me for "currently unavailable for viewing" message ????
emil
I have no problems to download the file Q_20974690.zip as it is declared above, but you may visit
http://www.geocities.com/eosoft/
first as a web-page and then download from the link
Q_20974690.zip
Really I don't understand what happens with my yahoo web-pages. I can access them without problems, but you are the second, who alert me for "currently unavailable for viewing" message ????
emil
ASKER
@esoftbg
Your code was good and I'm thinking you worked for some time at it. I wish I could reward your effort but unfortunatly I accepted somebody else's answer.
Now I can download the file from yahoo, maybe it takes a couple of hours(from the upload) for the files to become "worldwide available". I don't really know what's going on I didn't work with yahoo for uploading.
Best regards,
Cris.
Your code was good and I'm thinking you worked for some time at it. I wish I could reward your effort but unfortunatly I accepted somebody else's answer.
Now I can download the file from yahoo, maybe it takes a couple of hours(from the upload) for the files to become "worldwide available". I don't really know what's going on I didn't work with yahoo for uploading.
Best regards,
Cris.