Hi, everybody
I have a question. When I use C/AL Symbol Menu I do not want Navision to insert the record name, I want only a Field Name.
For instance, when I write SalesHeader.SETRANGE and I want to select a field to put in brackets I do not want to happen following SalesHeader.SETRANGE(SalesHeader."No."... I want SalesHeader.SETRANGE("No."...
Now I just delet the Record name after the insertion, but I am lazzzzzy!
Is there a hotkey that I have to press to insert just the field name?
Well, I guess the more you work the lazier you get!
Best Regards,
Oleg
0
Comments
eg.
press F5 and choose SalesHeader."No."
Put the cursor after the . and type SETRANGE(
I don't know if it is any quicker, put that's the order I've always done it in 8)
WITH SalesHeader DO BEGIN
..
END;
:-k
Oleg
RIS Plus, LLC
Oleg
RIS Plus, LLC
Yeah, but this (to me) makes the code looks really messy..
Just an opinion... moving along... :whistle:
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
For me the code with WITH statement is much more unreadable than without it, and in many cases, when you use WITH, you have troubles with mixing fields from Rec, from record variable used in WITH and global and local variables (if you use same names... :-). When you look into code, you do not need to jump to the beginning to know, from which record you are using the values... ;-)
Of course, this is just my opinion and I know, that others are using that and it is better for them... 8)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
RIS Plus, LLC