Hi,
I would like to display data in a grid from an existing data source.
Is it possible to populate a grid in a form using a Method and calling the data source directly with an SQL like query in x++? I can query and retrieve data from an existing data source directly using a simple string field and setting the Data Method to a form method that returns the result of a query. The method I used is below.
public display RecId userCount()
{
return (select count(RecId) from UserInfo).RecId;
}
Can I do something similar with a grid to display a simple query in x++?
Note: the UserInfo data source is not included in the form, I can just call the data source directly.
Thanks,
Matt