Hello Rao
I use oCol:lMergeVert and oCol:WorkMergeData() to activate at runtime lMergeVert and it works fine ,
but is it possible to disable for other conditions?
IF oBrw:oRs:Sort) == 'State'
WITH OBJECT oBrw:State
:lMergeVert := .t.
:WorkMergeData()
END
ELSE
// HOW DO YOU RESTORE WITHOUT lMergeVert ???
ENDIF
Regards
Maurizio
xBrowse and lMergeVert
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: xBrowse and lMergeVert
Code: Select all
// cancellation of vertical merge, if already merged
if oCol:lMergeVert
oCol:lMergeVert := .f.
oBrw:Refresh()
endif
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: xBrowse and lMergeVert
Thanks RAO
it works very well .
is it possible to have a sub total for each merge?
Maurizio
it works very well .
is it possible to have a sub total for each merge?
Maurizio
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: xBrowse and lMergeVert
Possible, but you need to do more work.
Please search the forums for samples I posted showing subtotals with mergecols.
May I know if you are using ADO with MySql or MSSql or other database?
Please search the forums for samples I posted showing subtotals with mergecols.
May I know if you are using ADO with MySql or MSSql or other database?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: xBrowse and lMergeVert
I use ADO
Maurizio
Maurizio
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: xBrowse and lMergeVert
It is clear to me that you are using ADO. But with what database? MySQL or MSSQL or Oralce? what database?Maurizio wrote:I use ADO
Maurizio
I am asking because SQL syntax can vary a little between different databases.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: xBrowse and lMergeVert
I use Mysql
Maurizio
Maurizio