There are multiple ways in BC to create a Lookup button for a variable in a page or report. Generally speaking, I have seen three following methods being done to achieve the lookup button.
1. Using Table Relation
field(fieldItemCode1; ItemCode)
{
ApplicationArea = All;
Caption = 'Item Code 1';
TableRelation = Item."No.";
trigger OnValidate()
begin
...
Continue Reading thatnavguy’s Article on their blog
Private Site
This site is currently private. Log in to WordPress.com to request access.
Blog Syndicated with thatnavguy’s Permission