Hallo,
I would like to postion the cursor to the last line in the Customer Sales History, so that the newest line is shown directly and the user don+t have to scroll down every time.
I want to do this with
IF FIND('+') THEN;
This is working fine in other forms but in the Customer Sales History I can't find the place to insert this command. Can anybody help me?
Best Regards
Winfried Barz
0
Comments
So your code will not work.
In sasle history form there is a function called
SetSubMenu(MenuType : Integer;Visible : Boolean)
Before the subform are made visible you have to set the record
CurrForm.BillSalesLines.VISIBLE := Visible;
CurrForm.SalesLines.VISIBLE := Visible;
CurrForm.BillPostedShpts.VISIBLE := Visible
etc ..
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
but what must I use for "last sales line" ?
Winfried Barz
Here is the code SetSubMenu(MenuType : Integer;Visible : Boolean)
Now in Form 7172 Sales Lines Subform in function IsFirstDocLine() :
Add the commented code
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Winfried Barz