Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Use Get(), FindFirst() and FindLast() without Next() method.
Avoid enumeration of a dataset when the dataset is not filtered.
If you use FindFirst()
, FindLast()
, or Get()
, then the database query will only fetch a single record and must fetch again when you call Next()
, which will lower performance.
codeunit 1 MyCodeunit
{
var
customer: Record Customer;
procedure Foo()
begin
...
customer.FindFirst();
...
customer.Next();
...
end;
}
codeunit 1 MyCodeunit
{
var
customer : Record Customer;
procedure Foo()
begin
...
customer.FindFirst();
...
end;
}
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn more