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

Using Flexgrid to display data from access

Status
Not open for further replies.

davelee

Programmer
Dec 3, 2001
4
GB
I am using an access 97 database with VB5 and want to display some of the fields of one of the tables in a flexgrid. At the moment i can only get the whole table displayed, any ideas how i can select which i want to be displayed?
 
Send me a copy of your files and I can help you out.
There are several ways this can be accomplished.
 
sorry i am new to the site, where on the sent do i get your email from or do i send the files another way?
 
With MSFlegrid1
.Row = 0
.Col = 0
.Text = "Hi"
End With

This should do the trick. I'm pretty sure that if the FlexGrid is unbound then it is read-only. A workaround is to create an invisible text box on the form with no border. Capture on-click and keypress events for the FlexGrid and move the text box to the cell that was clicked (set visible = true). You can use the move method of the textbox. If you're interested, I'll post code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top