New Snowflake UI - Query Status - snowflake-cloud-data-platform

The classic UI would indicate a query's status by showing a red X, blue swirl, or green check mark in the worksheet tab. Does the new UI have anything similar?

Snowsight does not show execution status in Worksheet tab level. You'd need get into each Worksheet file.
To see the Status of all running queries in parallel, you can always go to the Query History tab

Related

What is this action called and how is it called : popup shows content of second sheet in spreadsheet

Reduced Excel Spreadsheet - Curiosity When clicking on cell B6 ( or 6 thru 11 ) , a disclosure caret shows and a popup is presented with the contents from a second sheet. It's not a pivot table, VLOOKUP is close. I don't know what it is called, so I can not research it further. All I need is a starting point. Thanks. Al
In your case, "Data Validation" has been used:
Select the range you want to have the desired behavior
From the "Data" Tab, Choose "Data Validation"
See Full Description
Similar behavior is achievable in "Developer Mode" as well:
First Enable the Developer Tab from "File->Options->Customize Ribbon"
Put into "Design Mode"
Add Appropriate control (e.g.: Combo-box) via "Insert" button.
Complete documentation is available here

Add a user clickable check box in SSRS report

I am creating a report that for the most part is populated automatically by using variables, parameters with my datasource and dataset. I am trying to add in another column that will have a checkbox, where when the user pulls a report he or she can manually go in and click a check box for various rows. The clicked check box is done by the user and there is no need to send or retrieve data with this check box. Is there a simple solution to where I can add a checkbox for the user to check (and uncheck) various boxes?
SSRS does not deliver this kind of functionality. You would need to have a flag for every displayed row somewhere in your database and add two images to your report, a checked and one unchecked "checkbox" image, show those images on each row (source over expression) based on the flag of the row. Add an action to the image, that executes a storedProc and flags or unflags the row (pass an unambiguous id as parameter).
This is rather dirty, but would work.

Sync up data in ADF table after update in DB table done outside ADF environment

I have a jsff page inside a bounded task flow. It displays a table. Each row of table has an edit icon. on click of which a new jsff page opens containing the information of the selected row ready to be edited.
Here user can update and save the information and check the information back on the first page by clicking a Done button on second page.Pretty much simple.
The problem is I have some complex implementation due to which I should not update the row information through ADF way. I take the information entered by the user and pass it to plane java file. There in the plane java file I instantiate an AM and update the information through this AM.
The problem with this approach is that when I click the Done button to come back on table page to check the saved data, the data on the table is stale.
This seems as If the table is being updated outside the ADF framework and so it is not aware of the underlying the data change hence the ADF UI table is not synced with physical table automatically.
JDev : 11.1.1.7.11
Options tried : Upon click of Done button I tried to requery the VO of ADF table by
1) Clearing the VO cache row and repopulating it
2) Re executing the iterator binding
3) Re executing the iterator binding programatically.
Thanks

Refresh/Update a report page with checkboxes

I am using APex 4.2. I have a page with a shuttle list, (page 31), where a user can select some job categories (e, a, c, x, etc). The user can then click a button, (Generate Report), and it will take them to a page (Page 27) where a report is displayed. Each row of the report has a checkbox that is defaulted to yes (starts off checked).
The report query is along these lines:
select 'Y' as Selector, name, id, etc
from table
where (instr(':'||:P31_JOB_CATEGORY||':',':'||JOB_CATEGORY||':') > 0)
where P31_JOB_CATEGORY represents the shuttle list.
I am passing the value of the shuttle list (P31_JOB_CATEGORY) to page 27, therefore having the actual query to the report on page 27.
I ultimately have a two part question.
Once the user views the report, they will see that each row is
checked and will be able to uncheck specific rows if neccessary.
Once they done checking/unchecking, the report should be
saved/submitted/refreshed with their made changes that will take
them to another page to see the report. I am having trouble
accomplishing this on button click.
Ultimately their changes will need to be seen on a pdf report,
where once they click the refresh button, the report will update
with their changes and then possibly redirect to a page that opens
up an open/save pdf report. But first I need to tackle refreshing
the page with the changes they made to the report by
checking/unchecking specific rows.
Any help would be greatly appreciated. Thanks in advance.

Refresh Data in ComboBox List

I have a datatable (jobs) with a column in this table called StatusId. I have another datatable (jobStatus). The job table has 1 job record and the jobstatus table has all the job status.
On my winforms form I have the job record displayed and the job status is a combobox displaying the contents of the jobstatus table. The List portion (DisplayMember) is bound to the jobstatus table and the data portion is bound to the jobs table. (ValueMember) So all works well and when my jobs are selected and displayed the combobox selects the respective job status...All good.
Now I have another form (JobStatus) where I can added more job status records. So while I am entering / changing job records I discover I need another job status, so I jump over to my job status form and enter my new status. I then jump back to the job form and I now want to be able to select my new job status in the combobox.
My questions is what is the best practice for this senario where new records have been added or edited to a lookup style list which is used to populate a combobox on another form. I have tried putting code in the activate event of the form which works except the form flickers and it looks a ugly.
Any ideas???
I was virtually doing what your said, which made me look a bit closer at the code. The issue was the order I was processing the lines of code, and I found that when
old code
cboCustomer.DataSource = Business.Contact.GetContact( Enums.ContactType.Customer ).Tables[0];
sorted = ( ( DataTable ) cboCustomer.DataSource ).DefaultView;
sorted.Sort = "Name ASC";
new code here
DataView dv = Business.Contact.GetContact( Enums.ContactType.Customer ).Tables[0].DefaultView;
dv.Sort = "Name ASC";
DataTable dt = dv.ToTable();
cboCustomer.DataSource = dt;
works like a charm. Cheers for your help
You should be able to use the Activated event without a problem. That's even what the documentation says it is good for:
You can use this event for tasks such as updating the contents of the form based on changes made to the form's data when the form was not activated.
Of course, you'll get a few false positives when you subscribe to this event on the parent form. Consider the case where the user switches to the form without attempting to use the combo box control. It's not a huge deal, but in that case you will have updated the combo box for no reason. This is easily fixed by switching to handling the Enter event for the combo box control. This one only gets raised when that specific control receives the focus. The only limitation of the Enter event is that you can't change the focused control from inside of this event handler (but you don't want to do that anyway).
So now we need a fix for the flicker problem, which I think you'll find to be pleasantly simple. At the beginning of the event handler method (regardless of which one you use), before you start updating the combo box, call its BeginUpdate method. This prevents the control from flickering while it is being updated (by suppressing painting). At the end, you need to finish with a call to EndUpdate, which reenables painting and performs a single repaint to reflect your changes.
I just tested this myself, and I don't see any flicker. The most you'll get is a single flicker while the control gets repainted to reflect your changes. Obviously, you can't do any better than that.

Resources