Page 1 of 1

Using TBrowse

Posted: Wed Aug 12, 2009 2:06 pm
by Tristan
Hi All !

How using TBrowse in HMG ? Where I can find an example ?

Regards,
Tristan

Re: Using TBrowse

Posted: Wed Aug 12, 2009 2:49 pm
by Rathinagiri
IMHO, TBrowse is not ported in HMG.

Re: Using TBrowse

Posted: Wed Aug 12, 2009 3:04 pm
by Tristan
I use TBrowse in Clipper to make invoice input form.

Can I use Browse to view item detail ? How to filter record with Browse command ?

Can I have example transaction program ( master detail example ) like Invoice / Purchase Order form input ?

Thanks,
Tristan

Re: Using TBrowse

Posted: Wed Aug 12, 2009 3:25 pm
by gfilatov
Tristan wrote:...
Can I use Browse to view item detail ? How to filter record with Browse command ?
...
Hi Tristan,

Take a look for the samples at your folder hmg\samples\browse.4

I hope that give you an idea :idea:

Re: Using TBrowse

Posted: Wed Aug 12, 2009 4:44 pm
by sudip
Hi Tristan,
Tristan wrote: ...
Can I use Browse to view item detail ? How to filter record with Browse command ?

Can I have example transaction program ( master detail example ) like Invoice / Purchase Order form input ?
Hope following link of My Projects section will be helpful. It was created with Grid. Please go through step by step.
viewtopic.php?f=15&t=256
With best regards.
Sudip

Re: Using TBrowse

Posted: Thu Aug 13, 2009 4:09 am
by Tristan
Hi Mr Sudip !

Thanks for sample.

Why use grid not browse in detail item ? and use array not table ?

Thanks,
Tristan

Re: Using TBrowse

Posted: Thu Aug 13, 2009 11:12 am
by sudip
Hi Tristan,
Tristan wrote: Why use grid not browse in detail item ? and use array not table ?
For following reasons:-
1) AFIK, we can't use array with browse (using HMG).
2) I prefer using array than table because, AFIK, we don't have ROLLBACK facility with dbf.
3) I can't use table with MySql (I use TMySql library). I use array to store data from MySql table/query.

You may find following link helpful about Grid and Browse viewtopic.php?f=5&t=247

You may be happy to read this topic :) viewtopic.php?f=5&t=805

Regards.
Sudip