I have a requirement for a custom app I am building to open an attachment on the parent record in a new window on create of a child record.  I have parent object Quality_Assessment__c with child object Chart_Review__c. Quality_Assessment__c has a PDF attached to it in the Notes &amp; Attachments section. When a user clicks to create a new Chart_Review__c record I need to have the PDF attachment on the Quality_Assessment__c record open in a new tab as well as the record create page for the Chart_Review__c record. Looking for help in generating the needed javascript for a custom button to accomplish this.  The 'Quality_Assessment__c' record will have a PDF file attached to it prior to the user clicking the 'New Chart Review' button.  My use case is to have users open the 'Quality_Assessment__c' record and perform what we call a Chart Review. To perform the Chart Review the user would click on a custom button called 'New Chart Review' which would do two things.  create a new 'Chart_Review__c' record displaying the new record edit page open the PDF attachment from the related 'Quality_Assessment__c' record. preferably on click of the button the new record page would open in existing tab and a new tab with the PDF would open simultaneously.
I have a requirement for a custom app I am building to open an attachment on the parent record in a new window on create of a child record.  I have parent object Quality_Assessment__c with child object Chart_Review__c. Quality_Assessment__c has a PDF attached to it in the Notes &amp; Attachments section. When a user clicks to create a new Chart_Review__c record I need to have the PDF attachment on the Quality_Assessment__c record open in a new tab as well as the record create page for the Chart_Review__c record. Looking for help in generating the needed javascript for a custom button to accomplish this.  The 'Quality_Assessment__c' record will have a PDF file attached to it prior to the user clicking the 'New Chart Review' button.  My use case is to have users open the 'Quality_Assessment__c' record and perform what we call a Chart Review. To perform the Chart Review the user would click on a custom button called 'New Chart Review' which would do two things.   create a new 'Chart_Review__c' record displaying the new record edit page  open the PDF attachment from the related 'Quality_Assessment__c' record.    Preferably on click of the button the new record page would open in existing tab and a new tab with the PDF would open simultaneously.
In Ubuntu 18.04 I'm not able to assign Ctrl+Alt+← or Ctrl+Alt+→ to anything. To be precise I may bind it to something, but it doesn't work when using the keyboard combination, up/down arrows do however work.   .  The strange thing is that the system detects the keyboard combinations when assigning a key, but not when trying to use them. As a result the keyboard combinations don't work in any other programs either. Natural deduction, Proof $\vdash$ $P\Rightarrow(Q\Rightarrow P)$ So I have a question regarding natural deduction, are we allowed to "copy" our previous assumption inside a new assumption. I will use an example to illustrate.  $\vdash$ $P\Rightarrow(Q\Rightarrow P)$  So here are my steps.  1.) $P$             Assumption  2.)$Q$             Assumption  3.)$P$             Copy (1)  4.)$Q \Rightarrow P$   Implication Introduction  5.)$P \Rightarrow (Q \Rightarrow P)$ Implication Introduction  Is my proof correct, or is there something missing. What exactly is the difference between a parametric and non-parametric model? I am confused with the definition of non-parametric model after reading this link  and .   Originally I thought "parametric vs non-parametric" means if we have distribution assumptions on the model (similar to parametric or non-parametric hypothesis testing). But both of the resources claim "parametric vs non-parametric" can be determined by if number of parameters in the model is depending on number of rows in the data matrix.  For kernel density estimation (non-parametric) such a definition can be applied. But under this definition how can a neural network be a non-parametric model, as the number of parameters in the model is depending on the neural network structure and not on the number of rows in the data matrix?  What exactly is the difference between parametric and a non-parametric model? Pokemon keep running away and Pokestops don't drop anything when spinning. What is going on? I can't do anything now. Can't catch Pokemon, can't get items. Does anyone have the same problem? Should I use the past tense with did? How can I release and renew my DHCP lease from Terminal? From the Terminal, how can I release and renew my DHCP lease?  Currently, I'm doing the following for the wireless interface, but I'm wondering if there's a better way:  sudo ifconfig en1 down sudo ifconfig en1 up   For the wired interface, replace en1 with en0. Idiomatic phrase for small type words at end of a document Is there a phrase in English that that can be used in the following situation:  You read an article and from the title you understand that this is something positive, but if you read it all, very carefully, you will see that "small words" at the end reveal the reality.  The same situation is when signing contracts, when something negative for the customer is indicated in the end with small letters Standard formula for quick calculation of scores I have three datasets as follows:   Dataset A can have a maximum score of 30. (Individual scores can be from 1 to 30) Dataset B can have a maximum score of 45. (Individual scores can be from 1 to 45) Dataset C can have a maximum score of 25. (Individual scores can be from 1 to 25)   The three datasets contribute equally to a final score, hence it is 33.33% each. i.e. (33.33% for dataset A + 33.33% for dataset B + 33.33% for dataset C) = 100% (final score)  I have the following scores in each dataset:   Dataset A: 22 Dataset B: 15 Dataset C: 10   Is there a quick formula that I can use to work out the final score, based on the above datapoints?   (This is not a homework question.) Why is this quotient space not Hausdorff? Let $R$ a ring, and let $$\displaystyle R[[x]]=\left\{\sum_{k=0}^{\infty}a_k x^k\;\middle\vert\; a_k\in R\right\}$$ with addition and multiplication as defined for polynomials.  We have that $R[[x]]$ is a ring containing $R[x]$ as a subring.  How to prove that if $a_0\in R$ is a unit, then  $\displaystyle\sum_{k=0}^{\infty}a_k x^k$ is a unit in $R[[x]]$? Another "can't use Alt. Series Conv. test" (How do I determine if it converges or diverges?) I'm designing an algorithm to do the following: Given array A[1... n], for every i &lt; j, find all inversion pairs such that A[i] &gt; A[j]. I'm using merge sort and copying array A to array B and then comparing the two arrays, but I'm having a difficult time seeing how I can use this to find the number of inversions. Any hints or help would be greatly appreciated. How long can you store used cooking oil How long can you store used cooking oil then re-use it? I deep fried a turkey one year ago and have had it refrigerated since. I am working on a long document in LaTeX with documentclass book. I need the page number to always be in the upper right corner of each page, even if that page is the first page of a chapter (right now on 1st pages of chapters, the page number is bottom-centered, on all other pages it's top-right).  I control the position of the page number with fancyhdr:  \usepackage{fancyhdr} \pagestyle{fancy} \lhead{} \chead{} \rhead{\thepage} \lfoot{} \cfoot{} \rfoot{} \renewcommand{\headrulewidth}{0pt}   Also, I don't know if the problem is related but my chapters do not start from the top of the page. There is a white area, then comes chapter X, then a newline with the chapter line. What I also want is the chapter to start from the top of the page.  The main question here is how I can get the page number to always appear in the upper right corner, I mention the thing with the chapter title position only in case that might be related. Creating a large amount of convex polygons using existing coordinates From some comments in the answers for  (now deleted, 10k only), there's confusion around the usage of I vs. me:  While the sentence, "the other attendees are myself and Steve," is agreed to be incorrect, there's confusion about whether the correct form is "the other attendees are me and Steve" or "the other attendees are Steve and I."  (I've always used the heuristic of removing the other people from the sentence, so I always thought "the other attendee is me" would be correct, instead of "the other attendee is I." Is this true, or am I using a flawed heuristic?) Sublime Text 3 System Package Location? There has been some recent behavior change on SE (around July 2015).  I have two accounts I use, one Google openId based for one set of sites (call it Account-A) and another SE login based for a different set of sites (Account-B).  Used to be that I could be logged into one set of sites with the first user and a different set with the other users.    But now I am logged in with the Account-A on Site-1.  When I go to one of the sites I use the other account for and click "log in" under the SE menu, I go to a page where I only have an option to confirm creation of an account based on my Google login.  It does not present a way to log in with an SE account.    How can I log in with my other account here?  (and before you flag this as a duplicate, please ensure the other question is recent enough and that the answer is relevant.  This behavior has definitely morphed over the years... and I am having trouble finding something that is relevant.  For instance this question  simply points out how to merge the accounts which is NOT what I want  .  This question  talks about presenting different user info on each site but that's not what I want -- I want totally separate accounts). How do you keep user.config settings across different assembly versions in .net? Basically the problem is that each time the assembly version changes (i.e. the user installs a new version of the application) all their settings are reset the the defaults (or more accurately a new user.config file is created in a folder with a different version number as the name)  How can I keep the same settings when upgrading versions, since using ini files or the registry seem to be discouraged?  When we used Clickonce it seemed to be able to handle this, so it seems like it should be able to be done, but I'm not sure how. How can I compute the number of lists of the form $(a_1,\ldots,a_k)$, where $a_i \geq 0$ are integers and $\sum a_i \leq n$? What is the easiest way to derive the answer?