Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
May 2, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

MicroSoft Visual Foxpro 6.0 Grid Control

I have a grid control on a form in Visual Foxpro. I want to keep it unbound and then later fill it with data. I set the recordsource property to none and have the recordsourcetype property set to "Table." Even though I do this, the grid still displays information from whichever table in the current workarea. I also set the controlsource property of all my columns to "None." Do you have any information concerning using unbound grids? Thank you.

Two things to try:

1. set columncount to 0 for the grid, OR

2. Rather than wrestle with this, you may want to add another grid (oFakeGrid) to the form, position it over the existing grid, and set its columncount to 0. When you want to view data, set oFakeGrid.Visible = .T.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date