Tab ID field

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Tab ID field

Post by PointsWell »

What are valid parameters for the ID field in the open in Tab dialogue box? Are you able to use <<BO.id>> as a tab ID?

If I have the operation at the panel (as opposed to record level) and I was creating a new BO where I don't know the record ID at the point I am creating, how do I control that specific tab?
Screen Shot 2020-06-26 at 09.24.22.png
Screen Shot 2020-06-26 at 09.24.22.png (41.06 KiB) Viewed 5554 times
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Tab ID field

Post by BLOMASKY »

This is with my BAD Memory, but I think its just a static string that can be used in the CLOSE TAB expression.

Bruce
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Tab ID field

Post by PointsWell »

BLOMASKY wrote:This is with my BAD Memory, but I think its just a static string that can be used in the CLOSE TAB expression.

Bruce
Hmm that suggests it doesn't need to be unique, which begs the question, what's the point of it?
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Tab ID field

Post by BLOMASKY »

The purpose is to give you a name to close a window. I use this so when I open a tab and don't want duplicates, to have my process say CLOSE TAB 'BrucesTab' prior to opening a new tab. (Different from the option to not open multiple tabs).

Bruce
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Tab ID field

Post by PointsWell »

BLOMASKY wrote:The purpose is to give you a name to close a window. I use this so when I open a tab and don't want duplicates, to have my process say CLOSE TAB 'BrucesTab' prior to opening a new tab. (Different from the option to not open multiple tabs).

Bruce
Yeah I am just struggling to understand how this works.

For example if I have a grid of Customers with an Operation on Record to open a tab with extended details. If I can only use a string and not a BO Attribute I am limited to calling that ID 'Customer' or some such, if I then open 5 different customers in tabs they would all have the same ID, 'Customer' no? So if I call CLOSE TAB('Customer') does this not close all five of those Tabs?

Seems like this should be parameterised to allow specific tabs to be closed. But if you try that you will get all kinds of parser errors when you run it.
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

Re: Tab ID field

Post by BLOMASKY »

I agree, parameterized would give a lot more functionality. Where I use this now, using your example, if I have a customer query and have a button to show their invoices in a new tab, when I go back to the customer tab and select a diff. customer and want to display their invoices, I would 1st close the existing invoice window so I don't have 2 open. If I want to allow more than 1 copy of the invoices file open, then I don't need to have aware close theexisting tab.


Bruce
Post Reply