I have a report where user has to fill in the type of account say bank,vendor,employee,G/L account etc on the request pge and according to that the table realtion for the next field account no. should be there but I am unable to set it.For setting conditional table relation ,it is not letting me use ACCtype variable,How can i do it or any other approcah for the same that anyone can think of.
requestpage
{
SaveValues = true;
layout
{
area(content)
{
group(GroupName)
{
field(AccType; AccType)
{
}
field(AccNo;AccNo)
{
TableRelation = if (acctype = filter(Vendor)) Vendor
}
}
}