Apple numbers creating variables
In Excel I can create a variable that can be used in the spread sheet calculations. e.g InterestRate=4.21%: Then use InterestRate in the spread sheet. How do I create variables in Numbers?
Thank You
Ernie Graff
Hi Ernie,
Instead of an 'ocean' of a sheet with 'islands' of data (an idea borrowed from Barry) create several small tables, each with a purpose.
How about this? A table named Interest Rate (single cell) to contain a value that you can change by typing.
Another table with the calculations
Formula in B2 of the Calculations table:
=B2+B2×Interest Rate::A1
Now you have the Numbers equivalent of an Excel named reference .
Regards,
Ian.
Similar Messages
-
How to create variables at runtime
Hi,
I need to know how can i create variables at runtime.
or is their anything like array that we create in 'C' if yes . how can i define its size at runtime.
Thanks,
Dev.In forms, either record groups or pl/sql tables of records give similar functionality to an array. You have full programatic control of either but with completely different syntax. Record groups integrate well with certain forms built-ins and features (eg LOVs and Tree items). PL/sql tables integrate well with other pl/sql such as stored procedures. Unlike an array, a pl/sql table may be SPARSE (index numbers need not be sequential), and UNBOUNDED (no need to declare the number of rows).
-
Apple Numbers access to microphone
We use Apple Numbers on iPads to collect event attendee information via student ID with a quick swipe of the card - all that is actually collected is the embedded number on the magnetic strip, this is then collated in our database system after the fact. The swiper that we use connects to the iPad via the microphone jack. I don't see numbers showing up in settings > privacy > microphone nor upon launch does Numbers ask for permission when launched. Is there a way to enable this? We are running the latest iOS and most up to date version of Numbers for iOS.
Thanks,
Dana@pratfull
It sounds like you're porting an existing C application.
At a high level you need to modify the codebase so it plays
nicely in the Flash sandbox. Remember, the end result of your
Alchemy project is a Flash application, so you'll need to remove
all platform-specific code.
This means eliminating your application's dependence on the
Windows API. Rewrite any dependencies to access system resources in
a flash-friendly way.
If StartCamera is the only function that depends on the
Windows API, then remove windows.h and rewrite the body of that
function. To provide the necessary camera functionality you could
call out to a static AS3 method or write the logic in C. (See
snippet below.)
@amsicora
The following code creates a ByteArray. You could use a
similar approach to get a reference to Camera.
// Create a ByteArray in C
AS3_Val buffer_NS = AS3_String("flash.utils");
AS3_Val buffer_class = AS3_NSGetS(buffer_NS, "ByteArray");
AS3_Val buffer_array = AS3_New(buffer_class, AS3_Array(""));
AS3_Release(buffer_NS);
AS3_Release(buffer_class); -
Creating Variables From Text File
Hello a little new to powershell and have banging my head on the wall trying to get this working.
I have a text file (where the numbers of lines will change everytime) that will contain AD groups.
Lets say it looks like this
GroupA
GroupB
GroupC
I'm trying to you a loop that will read the file and output each new line to a variable so
var1=GroupA
Var2 =GroupB
Var3=Groupc
My first problem is that non of these can be null since this will be then be used with Add-ADgroupmemeber
So I have it get the number of items with $Items = get-content *File* | Measure-Object -Line
After that I have been trying to use a loop which to me looks like it should work however is not. I'm not getting any errors. However I'm not getting any created variables either.
For ($i=1; $i -lt $Items.lines; $i++) {
$var[$i] = (Get-Content *File*)[$i-1]
write-host $var[$i]}
In my head I should get a listed of each line of the txt file but I'm getting nothing.
In the end I was hoping to doing something along the lines of ADD-Adgroupmember -identity $Var[$i] -members *Machine Name*
If there is a better way to approach this I'm all ears.
Thanks for any help!You don't need a loop to read each line from the file. You don't need a variable for each group read from the file.
For example, if your file looks like:
GroupA
GroupB
GroupC
with spaces/empty lines in it, that you wish to ignore, you can use:
$Groups = Get-Content .\groups2.txt | % { ($_.split(" ",[System.StringSplitOptions]::RemoveEmptyEntries)) }
The $Groups variable will be an array that holds non-empty lines from the file. You can use that directly as in:
foreach ($Group in (Get-Content .\groups2.txt | % { ($_.split(" ",[System.StringSplitOptions]::RemoveEmptyEntries)) })) {
Add-ADGroupMember -identity $Group -members *Machine Name*
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx -
Creating variables in Report Painter
Hi ...
I would like to know ... how do I create variable ? I know it is via T CODE GS11, but when run tht, in the next screen it pops up for variable ? What variable do I need to enter ? is this predelivered Eg : CE-PK, or can we create one ? Please advise
Also, I would like to I have a requirement for a report whereby the format is like this .....
SALES CURR MONTH (06/2006) LAST YEAR
- Sales IT
- Sales 1
- Sales 2
COGS
- cogs 1
- cogs 2
- cogs 3
COS
- cos 1
- cos 2
- cos 3
GROSS PROFIT
Whereby, SALES = sales it + sales 1 + sales 2, COGS = cogs 1+cogs 2 + cogs 3, COS = cos 1+ cos 2+ cos 3. also GROSS PROFIT = SALES + COGS + COS
The abpve report is inclusive of Cost Centre and Profit Centre, how acn I utilize the libraray in Report Pianter to create such report, is this possible in Report Painter whereby including Cost center and Profit Centre in one single report
Pls assist me
NathanWhen you create your variable first enter the variable name. Second enter the reporting "table" to use. Third enter the "field'. Press enter. Next enter a default value for your field. Save you variable. It is now ready to use in your report painter.
Using the PCA reporting tables gives you the profit center but not the cost center. You can only use one reporting table per report. you will need a cctr report for that.
First create your own libray from GLPCT. Next create your report using your new library. The report painter can do the calculations that you have shown.
You create a formula in the row or column to calculate your sub totals.
pls assign points if helpful as a way to say thanks. -
I don't want to "jailbreak" my iTouch but I do want to be able to hide and/or restrict the use of some of my apps. I have spent several hours looking for a way to do this but no luck. It seems like a logical thing to me to have this option. Any suggestions on how to encourage Apple to create a 'hide an app' app?
So enable the Settings -> General -> Passcode lock
Also in Passcode lock set the "Require Passcode After..." to a value that allows you to unlock again within 'n' minutes of the most recent lock/sleep without needing a passcode.
Then to make life easy for you, set the Settings -> General -> Auto-Lock to a time peroid that re-locks soon enough for you without being annoying
So if someone goes into your purse, they will not get access to anything.
NOTE: 10 failed passcode entries will lock up your iPod Touch such that you will be forced to restore your iPod Touch from you most recent sync/backup with iTunes on your personal computer. So if you go this route, make sure you frequently sync with iTunes on your personal computer or you will loose most of the information on your touch. If you are using iCloud to backup stuff on your touch, then that is another route, assuming what you backup does not exceed the free 5GB iCloud or you have purchased extra iCloud space. Personally, I make sure I have a regular iTunes backup, so if anything happens to my touch, I can just restore from my most recent backup.
After that you use the above mentioned feedback link to communicate your suggestions to Apple -
My apple id has been hacked. hacker has changed all information in the apple id so I can not change the password. Account information from the apple id created is still in my mail. How do I regain apple id. Thanks
Contact Apple support: Apple ID: Contacting Apple for help with Apple ID account security
-
How to create variable in BEx on a Nav Attribute?
Hi All,
We are creating a report on Master data object 0MILESTONE. 0PROJECT is the navigational attribute of 0milestone.
and ZSTATUS is the navigational attribute of 0PROJECT.
Requirement is to create variable on ZSTATUS in BEx. How do I do that? I dont see option of creating variable on Nav attribute of a Nav attribute.
Regards,
BobHi,
There is nothing as such creating variable for navigation attribute. You can only create variable directly on particular infoobject.
In your case you are using transitivie attributes. So they can not be accesed directly in BEX query. You can only use 1st level nagivation attributes in bex query.
[http://help.sap.com/saphelp_nw04/helpdata/en/6f/c7553bb1c0b562e10000000a11402f/content.htm]
Regards,
Durgesh.
Edited by: Durgesh Gandewar on Feb 22, 2012 3:53 PM -
How to create variables in payroll rules
Hi Experts,
Can you please let me know how to create variables in payroll rules and how to assign values to them.
Please share some documentation on this topic.
Thanks so much,
UttamaHi Vijay,
Variables can be created for -
Char Values
Texts
Formula elements
hierarchy and its nodes
For Characteristic Values -
These are used to be filled by user in the query selection screen
1.In the filter tab of QD, select the characteristic for which you want to create a variable,right click - >Restrict
2.Select variabes from drop down
3.Click Create new variable and then define its properties like "Processing By",Settings in Details tab etc and save it
4.Move it to the right side and click ok
Now you have created a variable and used it as a placeholder for that characteristic for which user can enter the value to act as dyanmic entry.
Regards,
Vineeth -
Hi, i have got another problem with livecycle designer scripting.
I have got script line which is defining of string variable:
var aaa = "this is my string";
and i have got embed XML schema like this (it`s only short part of whole file):
... xs:element name="bbb" type="xs:string"/ ...
After saving data to XML i would like to get "this is my string" as a value of my "bbb" XML element.
To save this data i`m using submit button which is connect with submit.php file on my server.
How to connect script created variable and embed XML schema element which is present on my "Data View" tab.
Please help me a bit becouse i don`t know even where to search answer of it...
Of course i know possibilities to create fake unvisible text field object and bind it with 'bbb' and than put "this.rawValue = aaa" to connect those two variables but i think that is not a good idea to solve it in that way. It`s too primitivei solve it, i should write this:
xfa.datasets.data.bbb.value = aaa; -
How do I get data back on my Numbers created inventory that was removed by Spotlight recently? It seems to have happened after upgrading.
Thanks for your reply. Unfortunately when I click on "revert to" it shows no document. It's very strange that the rest of my old inventories on numbers remain. It is only my 2014 entries that went into a black hole somewhere. When I click on my inventory pages it says: "OS X spotlight search information was removed." It seems to have occurred after I recently updated Numbers. I never did anything to have it removed and never got any kind of warning to my knowledge that it was about to be removed. Very frustrating!
Linda -
Creating variables in a java swing program useing event
This is my code:
*Old School Calculator
*@Collin Doering
*Version 2.00
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class OSC {
private static void createAndShowGUI() {
int first = 0;
int second = 0;
int third = 0;
int fourth = 0;
int fifth = 0;
int answer;
System.out.println ("Calculations");
System.out.println ("-------------");
JFrame.setDefaultLookAndFeelDecorated(true);
JFrame frame = new JFrame("OSC");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JButton button1 = new JButton("1");
button1.setMnemonic(1);
button1.addActionListener
new ActionListener() {
public void actionPerformed (ActionEvent e) {
first = 1;
//This is when the error says "Local variable first is accesed from
with in inner class; needs to be declared final;
System.out.println ("first = ");
JButton button2 = new JButton("2");
button2.setMnemonic(2);
button2.addActionListener
new ActionListener() {
public void actionPerformed (ActionEvent e) {
System.out.println ("Second = ");
JButton buttonx = new JButton("x");
buttonx.addActionListener
new ActionListener() {
public void actionPerformed (ActionEvent e) {
System.out.println ("answer: ");
JPanel panel = new JPanel(new GridLayout(10,10));
panel.add(button1);
panel.add(button2);
panel.add(buttonx);
frame.getContentPane().add(panel);
panel.setBorder(BorderFactory.createEmptyBorder(
30, //top
30, //left
10, //bottom
30) //right
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
I am trying to create variables so i can make a calculator (right now i only have buttons 1, 1 and multiply). //This is when the error says "Local variable first is accesed from
with in inner class; needs to be declared final; then when i declare it final it says <identifier expected>. Could some one please help me. thanx.Please post code within code tags (press the "code" button).
Why are you using an inner class? Simplify:
public class OSC implements ActionListener {
button1.addActionListener( this );
public void actionPerformed( ActionEvent e ) {
if ( e.getSource() == button1 ) . . . -
Creating variables in BO using BO SDK
Hi,
We can create variables which can be formulas applied on objects using infoview.
Is there any way, these variables can be created using java BO SDK?
Please paste some sample code for us.
Cheers,
ShrutiPlease find below a snippet code based on java managed RAS api that adds a formula onto the report. I hope this answer your question.
<%@ include file="logon.jsp"%>
<%
ReportClientDocument oReportClientDocument;
IReportAppFactory oReportAppFactory;
IInfoObjects oInfoObjects=null;
IInfoObject oInfoObject=null;
String reportName = "SimpleRCAPIReport.rpt";
// Retrieve report to be modified
oInfoObjects = iStore.query("Select * from CI_INFOOBJECTS where SI_PROGID = 'CrystalEnterprise.Report' and SI_INSTANCE = 0 and SI_NAME = '" + reportName + "'");
oReportAppFactory = (IReportAppFactory)es.getService("", "RASReportService");
oReportClientDocument = oReportAppFactory.openDocument((IInfoObject)oInfoObjects.get(0), 0, java.util.Locale.ENGLISH);
// First create the formula field
FormulaField newFormulaField = new FormulaField();
// Set the parameters (assume it's a string and Crystal Syntax)
newFormulaField.setText("{Customer.Contact First Name} + ' ' + {Customer.Contact Last Name}");
newFormulaField.setName("CustomerName");
newFormulaField.setSyntax(FormulaSyntax.crystal);
newFormulaField.setType(FieldValueType.stringField);
// Now add it to the report
oReportClientDocument.getDataDefController().getFormulaFieldController().add(newFormulaField);
// Now that the formula has been created, add the newly created formula to the report
// First determine which section to add the formula field to - in this case the details section
ISection sectionToAddTo = oReportClientDocument.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);
// Get back all the formulafields in the report
Fields formulaFields = oReportClientDocument.getDataDefController().getDataDefinition().getFormulaFields();
int formulaFieldIndex = formulaFields.find("{@CustomerName}", FieldDisplayNameType.formulaName, java.util.Locale.ENGLISH);
Field formulaField = (Field)formulaFields.getField(formulaFieldIndex);
// Set the type of field this is
formulaField.setType(FieldValueType.stringField);
// Now create a new Field object which will be added to the report
FieldObject oFieldObject = new FieldObject();
// Set the datasource of this field object to the formula form of the above Database Field Object
oFieldObject.setDataSourceName(formulaField.getFormulaForm());
oFieldObject.setFieldValueType(formulaField.getType());
// Now set the co-ordinates of where the field will go
oFieldObject.setLeft(8000);
oFieldObject.setTop(1);
oFieldObject.setWidth(1911);
oFieldObject.setHeight(226);
// And finally Add it to the report
oReportClientDocument.getReportDefController().getReportObjectController().add(oFieldObject, sectionToAddTo, -1);
// Now display the report
session.setAttribute("reportSource", oReportClientDocument.getReportSource());
response.sendRedirect("CrystalReportViewer.jsp");
%>
Cheers
Alphonse -
Creating variables in Process Flows and using thse variables in the filter
Hi,
I am new to OWB and in learing stage. Need to information.
*1. as to how pass/create/use variables to OWB mapping ?*
*2. Creating variables in Process Flows and using thse variables in the filter operator of the OWB mapping?*
*3. Other mechanisms of how to create/use variables within OWB mapping itself ?*
can you please provide the above details and guide me / help me in this regard.
Thanks,
skms.1. Add parameters to your mapping using the MAPPING INPUT PARAMETER from the pallette.
2. Add parameters to the START operator in the process flow. Bind the process flow parameter to the Mapping parameter.
3. May be appropriate to use CONSTANTS instead of parameters.
Regards
Si -
How to create variables in Bex query
Hi all,
can anyone please explain how to create the variables and how many types of variables in Bex Query.
Thanks in advance
JamesHi James,
You can create variables in the BEx Query by right clicking on your characteristic and then selecting Restrict. A pop up window will appear. On the left side of the pop-up window, right click on a white space and then select New Variable. The Variable Wizard will then appear - you can now create your variable acording to your specifications. For more info on variables, please click on the link below:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/61/579b3c494d8e15e10000000a114084/content.htm
Hope this helps,
Juice
Maybe you are looking for
-
Getting error while running the Interface using AGENT
Hi All, i am not able to run the interface using Agent service which running in the another machine, while running i am getting error message like java.lang.Exception: Error during Session launching at com.sunopsis.dwg.dbobj.SnpSession.remoteExe
-
Free Goods Determination Based on Access Seq -Sales Org/DistCh/Cust/Materia
Dear All , Based on the requirement , I have configured 2 access seq for free goods determination. 1. Customer/Material 2. Sales org/DistCh/Customer / Material . The free goods determination is working fine when i use the first access Seq - . Custome
-
Permanent desply of hidden fileds of street address tab in XD01
Dear All, Can any one throw some light on how to make the hidden fields displayed permanently in street adrees tab in XD01.. Regards Ravikumar
-
Making the side buttons of the mighty mouse go back in safari
Hi, I found out that I can assign a custom key command to menu items in safari's browse-back-action. I've also seen that these settings are stored in ~/Library/Preferences/.GlobalPreferences.plist at the NSUserKeyEquivalents dictionary. Well, is ther
-
Latest Linux 3.17 kernel with OpenEmbedded/Yocto
I'm currently building my Linux system using the OpenEmbedded linux-xlnx_3.14 recipe in the meta-xilinx layer. I've noticed that SDK 2014.4 produces a somewhat different device tree to previous versions, which I assume has to do with the newer 2014.4