CLEAR(TBPTSDescr); CLEAR(FRMPTSDescr); TBPTSDescr.FILTERGROUP(10); IF "Phase Code" <> '' THEN TBPTSDescr.SETRANGE(Phase,"Phase Code"); IF "Task Code" <> '' THEN TBPTSDescr.SETRANGE(Task,"Task Code"); IF "Step Code" <> '' THEN TBPTSDescr.SETRANGE(Step,"Step Code"); FRMPTSDescr.SETTABLEVIEW(TBPTSDescr); FRMPTSDescr.SETRECORD(TBPTSDescr); FRMPTSDescr.RUNMODAL; TBPTSDescr.FILTERGROUP(0);thanks in advance
Answers
For form need use group 2 - command TBPTSDescr.FILTERGROUP(2);
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Yes You can use any group but for forms only 2
From help:
2 Form Used for the filtering actions that result from the SETTABLEVIEW function; from the SourceTableView property; and from the DataItemTableView property.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
You right
Sorry ](*,)
Try this
yes, it works! thank you!
but why? :-k
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
anyway...solved!
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Nowhere... it was only example how it works "inside" the C/Side... ;-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.