You might want to consider using the technique that Cetin describes for Picture in a grid.
Basically you create a dummy program that runs when you set the dynamicbackcolor to a procedure you create
This procedure queries the MYSQL database for only the row you are displaying. The beauty is that the dynamicbakcolor only updates for the grid rows that are displayed. Using this your query will only run for the size of the grid shown. Help Cetin.
Ron Seidl
Independent Developer
VFP
"I'm playing in life's theater in anticipation of a great cast party!"