RE: gids and views

Author: Gary Jeurink

Posted: 2012-01-29 at 15:23:59

That's what I hope to do. The views are identical but sorted differently.

-----Original Message-----

From: Dan Covill [mailto:dcovill@san.rr.com]

Sent: Saturday, January 28, 2012 6:31 PM

To: ProFox Email List

Subject: Re: gids and views

On 01/28/12 14:58, Gary Jeurink wrote:

> I know how to switch the contents sort of a grid connected to a table with

a

> set of buttons using SET ORDER TO but when I'm using a view and I want to

> change from one view to another on the same grid is there an easy way

other

> than another form. Be Kind BECAUSE I'M SELF TAUGHT.

When you change the source table/cursor/view for a grid, it loses all

its brains in regard to columns, etc. So, before you change, you have

to clear the .ControlSource, make the switch, and then re-set the

.Controlsource afterward.

This, of course, assumes the field/column names are all the same! <g>

Dan

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/2E4DBA75FAA0499A91A18B1D027FC8A0@OwnerPC

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Gary Jeurink