Page 1 of 1

GRID versus BROWSE

Posted: Fri Mar 13, 2009 11:07 am
by CCH4CLIPPER
Hi All

From the help file :-
A Browse control is a general purpose database browser.
A control Grid is a container object that displays data in rows and columns, and is similar in appearance to a Browse window.

1. So, what are the differences
2. When to use BROWSE
3. When to use GRID


Please enlighten me

TIA


CCH
http://cch4clipper.blogspot.com

Re: GRID versus BROWSE

Posted: Fri Mar 13, 2009 12:52 pm
by Rathinagiri
Browse controls are always linked with one table (that too a .dbf table).

Grid controls are for used for other purposes where, you wish to represent data in row,col format. For example, it may show a two dimensional array!

All the browse controls are grid controls but not vice versa.

Re: GRID versus BROWSE

Posted: Fri Mar 13, 2009 12:58 pm
by sudip
Hi,

For browse control (for data editing), do we need to use table "EXCLUSIVELY" ?

Regards.

Sudip

Re: GRID versus BROWSE

Posted: Sun Mar 15, 2009 7:19 pm
by mol
You need to open table in exclusive mode only when you want to add records or edit record via ALT-A, ALT-E.
If you open tale in shared mode, you must write your own function to add, edit or delete rows.

Marek

Re: GRID versus BROWSE

Posted: Mon Mar 16, 2009 6:02 am
by sudip
Helo MOL,

Thanks a lot!
I am also thinking in that way.

After reading samples an tips from this form I feel that GRID is more flexible, isn't it? :)

Regards.

Sudip

Re: GRID versus BROWSE

Posted: Mon Mar 16, 2009 12:05 pm
by mol
I think you will have problems with browsing huge tables (exhausting memory, etc) while using grid.
using Browse, I didn't found problems with database which has 100MB.

Re: GRID versus BROWSE

Posted: Mon Mar 16, 2009 12:11 pm
by sudip
Hello MOL,

So, what should I use for example One to Many form and for Searching Records.?

Regards.

Sudip

Re: GRID versus BROWSE

Posted: Mon Mar 16, 2009 9:38 pm
by mol
Sorry, I can't find what are you looking for...