Two part question: 1 How can I write a script for long Division, 2. How can I make my form?
1. I have a field where I need to write a formula for a division problem: (power/population) / 365. When I use the simplified field notation I get an error: the entered value does not match the format field. I want the answer as a number with no decimal point. If I format the field to 'no format' I don't get an error message but the answer comes with up to 10 digits after the decimal point. I'd rather have the answer in integer without figures after the decimal point. How can I write this in the custom calculation script?
2. on accessibility - I never checked on the display/a Mode and unlocked the Acrobat/PDF compatibility. Some users do not have a problem by filling out the form, but others are not allowed to fill that PDF/A is enabled for their document. Is this something on their end? Or is it something on my end blocking them?
If you multiply by 100, it appears correctly. But if you need to retain the value of the field, you need to use a script to Format custom instead. If you need help, post again.
Tags: Acrobat
Similar Questions
-
Can someone help me to write a script for Soundbooth
If I have 50 files in C:\MyMusic and you want to
Game Volume in Soundbooth CS5 how can I write a script for this?
The only other way that I saw him do this with a library of that size is by Steve DeKorte SoundConverter. It would be tedious to do, but there is a feature to "normalize volume" on all files being converted. E than another inconvenience is that as long as you "convert" MP3 to MP3, you must save the files "converted" to a different directory. It won't crush during the standardization process.
I had a library of more than 92 000 songs in 14 000 folders and subfolders 46 000 until last October. I had been there twice to "clean up and mormalize ' it more than six years." The transport entered on the drive that I was preparing to back up everything on DVD, and I have been unable to recover the data on the disks when it happened. I was duly upset when I lost all this music, but as I look back over the last eight months, I had a lot less worries ' tinkering ' with all these files all the time.
-
How to write a script for date get to the Clipboard
Hi experts,
How to write a script for date get to the Clipboard.
the date format will be like this:
05 - may
respect of
John
Thanks guys, thanks Sanon
I finally use the .bat doc
like this:
@@echo off
for /f "delims =" % in (' wmic OS Get localdatetime ^ | find ".") "") Set "dt = %% a"
the value "YYYY = % dt: ~ 0, 4%.
the value "MM = % dt: ~ 4, 2%.If MM % is 01 set MM = January
If % MM == 02 set MM = February
If MM % is MM value = March 03
If MM % is 04 MM value = April
If MM % is 05 MM value = may
If MM % is 06 MM value = June
If MM % == 07 set MM = July
If MM % is MM value = August 08
If MM % is MM value = September 09
If MM % is 10 MM value = October
If MM % is 11A set MM = November
If MM % is game MM 12 = Decemberthe value "DD = % dt: ~ 6, 2%.
the value "HH = % dt: ~ 8, 2%.
the value "Min = % dt: ~ 10, 2%.
Set "s = % dt: ~ 12, 2%.Echo DD - MM HH % %% % Min | Clip
It works
respect of
John
-
Is it possible to write a script for underlined text export to PDF?
When I make changes in the financial document, I must emphasize this purpose to show what I edit, these underscore was called "markup". And then print (paper version) and gen (PDF) of the amendment, which means I have to print and gen text underlined (or called markup text) after modification.
sample PIC:
If:
Customer requires a new version of the markup, which means I have to change the last beacon color (color of the underline to the last amendments) in 'back' and then make new 'red' as this markup:
What I want:
is it possible to write a script for printing and gen only markup in the document text all open
and I want two versions
(1) all text markup gen no matter the color of the underline
(2) the red color of the markup text gen
Thank you!
Hi HarveyLiu,
Why, you ask? It will export the pages who pointed out the text.
var doc = app.documents; app.findTextPreferences = null; app.findTextPreferences.underline = true; for(var i=0;i
Kind regards
Cognet
-
How can I make this form?
How can I make this shape in fireworks:
I want some pictures in my site has rounded corners. Im making this by adding 4 divs with background images and absolutely positioned, one on each corner of the image. Background images are png with transparent areas. It works as the site background is a solid color, rounded corners do not need to be truly transparent.
The issue im having is that the pixels on the curve must be semi transparent. ID like to make this shape as a vector, but I don't know how.
Thank you
You can do a vector shape like this perforating a circle within a square. Draw a square, draw a circle above it. Select the two objects, and then select Modify > combine paths > Punch. It would be much easier to export your images with corners rounded Fireworks, rather than hide the corners with divs positioned absoultely, however. To do this, draw a white, rounded rectangle on the image. Choose Selection > select all and then modify > mask > Group as mask. Change the color of the canvas to the color of your HTML page.
-
Can someone help me to write a script? What I have is a drop-down list (named Relation1) with three options; Self, spouse and significant other. A subform1 and a Subform2each subforms have the same fields. The user end would first fill all the fields of the subfrom1, and then they came to the drop-down list of the list "Relation1" - say the selection 'self', what must happen, it's fields of subform2 pre-populate with the info to end-users, they typed in the fields of subform1.
Here's what my hierarchy looks like:
Form1
Page1
PatientInfromation (Subform1)
FirstName
LastName
Address
Date of birth
Sex... etc...
Relation1 - combo
Gites
Spouse
Sig.Other
PrimaryInurance (Subform2)
FirstName1
LastName1
Address1
DOB1
Gender1... etc...
I have big problems with finding how to write these lines upwards, so if someone could give me a code base, I can understand the rest I don't know. Also, I don't know if I have to use FormCalc or JavaScript. I tried and tried to figure it out by reading questions on the forum for the past 7 HOURS on my own.
Any help would be much appreacited.
Hello
There could be many things - welcome in the world of LC Designer!
However, there are two ways to sort out what is happening...
First of all, when you're in the script editor there is a "Check syntax" button above the window. Clicking on this will check the current script. If there is a syntax error that appears red:
Then, when you are either found form in LC Designer Preview or Acrobat/Reader, then pressing command + J to display the Javascript Console. If there is an error in the form, it will help you to find, interpret and solve - Javascript Console is your friend:
I am convinced that you will be able to get this working, it will take just a little cooperation.
I didn't know your form, so here are some suggestions that may or may not be applied:
- Name of the objects that you will, this includes pages, subforms, and objects. This makes it so much easier to reference objects in the script.
- Try and stay away reserved words to name objects. For example 'null', 'name', 'x', 'h' etc...
- If you are in the script editor and you want to reference an object in the script there is a very easy shortcut. Place the cursor on the object and press on/hold Control. The mouse turns into a 'v '. Select the object and the reference will automatically be inserted into the script. The smart real thing is that LC Designer put everything as the reference needed. If the two objects are the same subform, it will put only in the name of the object. If the objects are on different pages, or some subforms are unnamed, then he put in the fully resolved node. You really need to try this; master it. IT WILL REALLY HELP YOU. When you look at the script in my example, I typed all sentence that at all. Just point / control / click.
If a letter is on the spot or the smallest of syntax errors, the script fails. The tools above will help you.
Try and stowage, where is the problem and I can help you. It will also help if you can share the form. There are Acrobat.com or other file sharing sites. You can also send me a private message and I will give you an e-mail address.
Have a good weekend!
Niall
-
Two part question about multicam sync and placement
Hello. I am a newbie to FCP, and I have a few questions.
1. I have two camera angles and I was wondering if I can sync the audio manually (to exactly match the Visual part), because the automatic method using FCP is an a little off.
2. question 2 - when I read the camera angles in the window, they are placed vertically. Is there a way I can place them horizontally rather than vertically? And a camera angle may be greater in size than the other, instead of being 50-50, it can be 70/30, for example?
Thank you for your help.
Is there a quick and easy way to do this? Thank you.
-
I've been scripting this profile flash card that pulls data from multiple XML files. The problem I have is when it comes down to pull this 1 set of information that accesses attributes of an array of XML specific nodes to display a comma after the first input element before each item.
My code:
-------------------------------------------------------------------------
xmlData = new XML ();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load ("'... / xml profiles / test.xml");--------------------------------------------------------------------------
function loadXML (load)
{
If (loaded)
{
xmlNode = this.firstChild;image = [];
id_array = [];
Total = xmlNode.childNodes.length;
for (i = 0; i < total; i ++)
{image [i] = "... / people/photos /" + xmlNode.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [1].firstChild.nodeValue + ".jpg";
id_array [i] = xmlNode.childNodes [i] Sublst.ChildNodes(1).ChildNodes(0) [10] Sublst.ChildNodes(1).ChildNodes(0);
}
firstImage ();
}
on the other
{
Content = "file not loaded! ';
}-------------------------------------------------------------------------
}firstImage () function
{
If (load == filesize)
{
Picture._alpha = 0;
picture.loadMovie (image [0], 1);
associate_array = id_array [0];
populateLists (associate_array);
picture_num ();
}
}---------------------------------------------------------------------
function populateLists (xml_array)
{
ID = [];
associatelist = [];
locationList = [];
for (n = 0; n < xml_array.length; n ++)
{
var identnumber is xml_array [n] .attributes;.
ID [n] = identnumber.occurence + "\n";
associatelist [n] = identnumber.associate + "\n";
locationList [n] is identnumber. Location + "\n";
occurence_txt. Text = ID;
associate_txt. Text = associatelist;
location_txt. Text = locationlist;
}
}Code red is the data displayed by commas after the first item. I couldn't find a solution anywhere... but saw dicussion: nested tables, often with commas.
It's just a preliminary version of the layout that I used to pull up false data... to show the commas.
If anyone knows how to remove the commas that would be great.
Finally, I wonder if it is possible to control the 3 text fields with 1 scroll bar or I'd better learn how to create columns in 1 text field to view these lists.
Thanks in advance!
.. few days I need to learn AS3
I have not the slightest idea of XML (I'm still at the stage of the embryo on that one half-a tutorial) BUT,.
to connect without a comma, you can do something like that. My table was called aHiragana (Japanese letters)
var sHiragana:String = aHiragana.join(""); Kill the comma
Words.Text = sHiragana.toString (); work, note "s" not 'a' in front of Hiragana.no idea if this is compatible with XML.
-
How can I make my form look nice with Css
I want to do in my form, when people click inside my textfield that the white line make it red.
Also when I click inside of my table to change to another color and when I click outside to change the real white color.
Hows posible to do with dreamweaver css?. IM new and I want to apply these things to my form.
that look like this.
< form id = "form1" name = "form1" method = "post" action = "" >
< p > < / p >
< p >
< label > name
< input type = "text" name = "email" id = "email" / >
< / label >
< /p >
< p >
< label > Email
< input type = "text" name = "name" id = "name" / >
< / label >
< /p >
< p >
< label > comments
< input type = "text" name = "comments" id = "Comments" / >
< / label >PLSS help
The CSS code belongs to an external stylesheet (preferably) without the
Tutorials HTML & CSS - http://w3schools.com/
Using properties of Page DW to create a style sheet CSS base
http://kb2.Adobe.com/community/publishing/505/cpsid_50576.htmlNancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
www.Alt-Web.com/
www.Twitter.com/ALTWEB
www.Alt-Web.blogspot.com -
How can I make icons clickable notification?
Hello
I am writing an application that runs at startup and is a background service. I have an icon that appears in the ribbon (?) at the top, alongside the missed calls and text message notifications.
My question is, how do I make my clickable icon as the icon of missed calls? OR on non touch devices, how can I leave the focus of the user on the icon using the trackball?
The reason why I want it to be clickable/Active is just if I post a status message and identification number.
Thanks for the help!
Welcome on the support forums.
the class that you are referencing is
http://www.BlackBerry.com/developers/docs/6.0.0api/NET/RIM/BlackBerry/API/MessageList/ApplicationInd...as much as I know there is no way to implement this feature, it seems that RIM uses the internal API to get the behavior of native applications.
-
Partition of HARD drive into two parts
I just bought a new HP laptop and in his HARD drive just a disk Local (C). I want to partition HARD drive into two parts C and D. can I do this without formatting my PC. I have windows 7 ultimate on it. have a problem on this way?
Help, please
a big thanks to all the world...
You can use the built in disk management in Windows to do. Click Start-> Control Panel-> administrative tools-> management-> disk management computer. Right click on the C: partition and click on reduce the volume. Then right click on the space unallocated and create the new partition.
Good luck.
-
MacBook Pro (retina, 15 inches, beginning 2013) El Capitan 10.11.3, Simple question here: I can't open FinalCut Express (4, I believe). The wheel turns for hours. How can I install/uninstall and will I lose all my old films (for the most part stored on external hard drives). Thanks for your suggestions.
You will not lose anything, but the app if you uninstall. If you decide to uninstall use this app to make sure that all the other files which depends on FCE are also deleted however I can't give you any assurance as to whether you will be able to reinstall so that it works correctly. It is a software that has not been supported for almost 5 years and there are conflicting reports as to its compatibility with OS X 10.11. Can't I test it myself.
Maybe someone else will chime in with their own experiences.
Russ
-
I forgot my answers to the two questions iTunes how can I reset it please
I forgot my answers to the two questions iTunes how can I reset it please
You have to ask Apple to reset your security questions. To do this, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.
(139632)
-
I downloaded separately from all parties to a four-part harmony song, how can I synchronize. two or three playing together?
Hello
Plenty of capable edition
Audacity - free
http://Audacity.sourceforge.NET/Audacity - Forums
http://Forum.audacityteam.org/Free Audio Editor - free 2012
http://www.free-audio-editor.com/Other sources of information:
http://Forum.recordingreview.com/
http://www.djforums.com/forums/
I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
question about how to combine the two scripts.
HelloI have a sql script that can display a table (or view) all the information, it works fine. I call it validate_table.sql, as below:
command prompt
accept invites owner "Enter table owner:
accept invites from TABLE_NAME "Enter object (table/View...) "name:"
column owner format a10 column 'owner '.
column format a30 topic 'Object name' object_name
column object_type format a15 direction "Type of object".
Status format a10 column titled "Status".
in the heading of column created format a20 "created."
the LAST_DDL_TIME format a20, heading 'LAST_DDL_TIME.
Select
owner
object_name
object_type
status
, to_char (created, "DD_MON_YY hh24:mi:ss") created
LAST_DDL_TIME,
Of
DBA_OBJECTS
where
object_name = upper ('& table_name') and owner = upper ('& owner');
command promptprompt -- ----------------------------------------------------------------------- ---
Guest - table/view structure-
prompt -- ----------------------------------------------------------------------- ---
command prompt
describe and owner... & table table_namecommand prompt
prompt -- ----------------------------------------------------------------------- ---
guest - list assigned user/subsidies-
prompt -- ----------------------------------------------------------------------- ---
command prompt
set pagesize 50000
set linesize 10000
set verify off
Set feedback off
column lvl format A4 direction "Lvl".
proprietary format of columns A14
format column in table_name A29
A38 dealer column format
column privilege A10 format
SELECT 'Role' lvl, t.table_name, t.grantee, t.owner, t.privilege
OF dba_tab_privs t
WHERE t.grantee IN (SELECT FROM dba_roles role WHERE = role t.grantee) and t.table_name = upper ('& table_name') and t.owner = upper ('& owner')
UNION
SELECT 'User' lvl t.table_name, t.grantee, t.owner, t.privilege
OF dba_tab_privs t
WHERE t.grantee IN (SELECT username FROM dba_users WHERE username = t.grantee) and t.table_name = upper ('& table_name') and t.owner = upper ('& owner')
UNION
SELECT 'Pub' lvl, t.table_name, t.grantee, t.owner, t.privilege
OF dba_tab_privs t
WHERE t.grantee = 'PUBLIC' and t.table_name = upper ('& table_name') and t.owner = upper ('& owner')
ORDER BY 1, 2, 3;command prompt
prompt -- ----------------------------------------------------------------------- ---
guest - list of synonyms created.
prompt -- ----------------------------------------------------------------------- ---
command prompt
proprietary format of columns A15
synonym_name A20 column format
A15 table_owner column format
format column in table_name A40
DB_link A40 column formatSelect the owner, synonym_name, table_owner, table_name, DB_link from DBA_synonyms where Table_name = upper ('& table_name') stopped by the owner;
command promptprompt -- ----------------------------------------------------------------------- ---
guest - list index created-
prompt -- ----------------------------------------------------------------------- ---
command prompt
Select
table-name
index_name
index_type
nom_tablespace
status
of DBA_indexes
WHERE table_name = upper ('& table_name') and owner = upper ('& owner')
order of table_name, index_name;
command promptprompt -- ----------------------------------------------------------------------- ---
guest - list of constraints-
prompt -- ----------------------------------------------------------------------- ---
command prompt
format column in table_name A15
format of column cons_type A15
cons_name A20 column format
check_cons A25 column format
VALIDATED A20 column format
column status A10 format
last_change A20 column formatSelect
table-name
(case constraint_type
When 'P', then 'Primary Key '.
When 'R' then 'Foreign Key'
When 'C' then 'check '.
When 'U' then 'single '.
When 'o' then 'read only display '.
When 'V' then 'check the view. "
When 'H' then 'Hash expression. "
When 'F' then 'REF column.
When the of ' then 'additional logging.
cons_type end)
constraint_name cons_name
condition_de_recherche check_cons
status
VALID
last_change
of dba_constraints
where owner = upper ('& owner')
and table_name = upper ('& table_name')
order of cons_type;I have another script that allows to display the newly created tables (table, table names) in the last 24 hours.
SET SERVEROUTPUT ON;
DECLARE
CURSOR tmp_cur IS
SELECT master, object_name
FROM dba_objects
WHERE object_type in ('TABLE', 'SEE') and the owner not in ('SYS', 'SYSTEM', 'GENERAL', "XDB", "OUTLN", "SYSMAN") and last_ddl_time > sysdate - 1;
tmp_rec tmp_cur % ROWTYPE;
BEGIN
FOR tmp_rec IN tmp_cur LOOP
DBMS_OUTPUT. PUT_LINE)
tmp_rec. Owner | ' ' || tmp_rec.object_name);
END LOOP;
END;
/
The gap of the first script (validate_table.sql) is that it can only check table one by one by manual entry, then how can I combine these two scripts, to make a scipt that can check all newly created tables (not a table) in the last 24 hours?
I thank very you much in advance!
Hello
If you already know how to find the owner and all the tables created table_name recently. One thing you can do is to change all the WHERE clauses in validate_table.sql, so instead of things like
where object_name = upper ('& table_name') and owner = upper('&owner');
you say
WHERE (owner, object_name) IN
(
SELECT master, object_name
FROM dba_objects
WHERE object_type in ('TABLE', 'SEE')
AND owner NOT IN ('SYS', 'SYSTEM', 'GENERAL', "XDB", "OUTLN", "SYSMAN")
AND last_ddl_time > SYSDATE - 1
)
;
Here is another approach:
Validate_table. SQL is quite handy as it is. You may want to run this script for tables, even when you know that they are not new. Divide into 2 scripts: one called ask_and_describe_table.sql, which looks like this:
-Ask_and_Describe_Table.sql
accept invites owner "Enter table owner:
accept invites from TABLE_NAME "Enter object (table/View...) "name:"
-You can use any name path instead of d:\some_dir below:
@d:\some_dir\describe_table & owner, table_name
and the other one called Describe_Table.sql, which starts like this:
-Describe_Table.sql
DEFINE owner = & 1
DEFINE table_name = & 2
column owner format a10 column 'owner '.
...
and continues with the same exact content as validate_table.sql.
Now, to write another script (I'll call it Describe_Recent_Tables.sql):
-Describe_Recent_Tables.sql - create and run Describe_Many_Tables.sql
-Turn OFF the devices designed to help people to read the output:
SET ECHO OFF
SET FEEDBACK OFF
SET PAGESIZE 0
VERRIFY OFF SET
-Create a Describe_Many_Tables.sql:
COIL d:\some_dir\describe_many_tables.sql
SELECT ' @d:\some_dir\describe_table '
|| owner
|| ' '
|| object_name
FROM dba_objects
WHERE object_type in ('TABLE', 'SEE')
AND owner NOT IN ('SYS', 'SYSTEM', 'GENERAL', "XDB", "OUTLN", "SYSMAN")
AND last_ddl_time > SYSDATE - 1;
SPOOL OFF
-Features lighting designed to help people to read the output:
SET ECHO ON
SET FEEDBACK ON
SET PAGESIZE 50
SET VERRIFY ON
-Describe_Many_Tables.sql performance
@d:\some_dir\describe_many_tables
I guess that all of your tables have standard names (for example, start with a letter, no spaces in the name,...), which don't require quotation marks. If they could, then the same basic approach will work, but the details are a little messier.
When you want to see the information on a single table or view, no matter how old it is, driven
Ask_and_Describe_Table
or, if you do not need to question the owner of the table and the name, something like
Describe_Table SCOTT EMP
(You can find that you really need not Ask_and_Describe_Table.sql).
When you want to do this for all the tables created in the last 24 hours:
Describe_Recent_Tables
Maybe you are looking for
-
iCloud drive hides too much data locally?
iCloud drive hides too much data locally? I just started using icloud drive to store very large files, but now my local storage on my MBA has dropped way to several concerts less than a gigabyte. Icloud tent hiding too well locally? I can't find a se
-
Satellite A200-10W - update BIOS need
I've got A200-10W for a few years and a year and a half I decided to change the form of Vista 64 bit do Windows 7 64 bit, I installed it, everything worked fine until a month ago what problems began to occur. When the BIOS screen it shows sometimes f
-
I have a real simple setup for Client-to-gateway VPN installation. Base tunnels seem to work fine, but when I try to install a policy of Mode Config I get an error in the connection and cannot ping resources on the local VPN network. The local IP add
-
remote control for pavilion h8-1375ea
Can Hello all, anyone help me? I just got a new Pavilion h8-1375ea and I can't just the remote control to work, I have treyed anything outside of it out of the window, any help would be great .thanks
-
HP pavilion dv7-1150us locked / disable Code
Disable Code-65729445 Help, please