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

MSFlexGrid Copy and Insert into Access 1

Status
Not open for further replies.

sttcharl

Programmer
Dec 5, 2002
29
US
I am wanting to do a copy and paste with MSFlexGrid. I have a grid in which I select some rows. I am using clip to copy the grid. Then I want to insert it into a Access Table. How would I go about doing this?

Thanks,
Steve
 
I am not sure that there is any direct method. You will probably have to select a range of cells, use the .row and .rowsel property to determine which rows you have selected. Then loop through each row and it's columns to insert it into the database as a record with the insert statement. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top