What's wrong with this script?
This opens a project in RoboHTML:
projectPath var = "C:\\scratch\\test\\test.xpj";
main();
main() function
{
RoboHelp.openProject (projectPath);
}
This opens the RoboHTML but not the project:
projectPath var = "C:\\scratch\\test\\test.xpj";
main();
main() function
{
if(ProjectPath = '')
{
Alert ("project path is not defined. \nPlease update the variable 'projectPath"in the script. ») ;
RoboHelp.quit ();
}
RoboHelp.openProject (projectPath);
}
What is the error?
Hello
You set the path to the empty project with your statement:
if(ProjectPath = '')
should be
If (projectPath == "")
With a unique =, set the value of a variable. With double ==, you check if the variable has the same value as the variable/string/etc.
Take a bow
Willam
Tags: Adobe
Similar Questions
-
Mr President.
What is wrong with this sequence, it does not work when, after 3 inserts, I add a new record with the trigger it gives an error.
--SL_CUSTOMERS table data INSERT INTO SL_CUSTOMERS VALUES(1,'Kamrul Hasan',NULL,NULL,'Moghbazar', 'Dhaka','0456789123',NULL,NULL,NULL,'Y',NULL); INSERT INTO SL_CUSTOMERS VALUES(2,'Rabiul Alam',NULL,NULL,'Motijheel', 'Dhaka','0567891234',NULL,NULL,NULL,'Y',NULL); INSERT INTO SL_CUSTOMERS VALUES(3,'Shahed Hasan',NULL,NULL,'2-G/1,2-2,Mirpur', 'Dhaka','0678912345',NULL,NULL,NULL,'Y',NULL);
CREATE SEQUENCE "ALIZA"."SL_CUSTOMERS_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE ; CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS" FOR EACH ROW BEGIN IF :NEW.CUSTOMER_ID IS NULL OR :NEW.CUSTOMER_ID < 0 THEN SELECT SL_CUSTOMERS_SEQ.nextval INTO :NEW.CUSTOMER_ID FROM DUAL; END IF; END; /
When I try to insert several records with the seq.nextval it gives error
violation of primary key.
INSERT INTO "ALIZA"."SL_CUSTOMERS" (CUSTOMER_NAME) VALUES ('sdfsd') ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated ORA-06512: at line 1 One error saving changes to table "ALIZA"."SL_CUSTOMERS": Row 4: ORA-00001: unique constraint (ALIZA.SL_CUSTOMERS_PK) violated ORA-06512: at line 1
Concerning
Mr President.
I find the solution by creating a function before the triiger
as below
CREATE SEQUENCE "ALIZA"."SL_CUSTOMERS_SEQ" MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLE ; CREATE OR REPLACE FUNCTION get_SL_CUSTOMERS_vId RETURN VARCHAR2 AS BEGIN RETURN SL_CUSTOMERS_SEQ.NEXTVAL; END; / CREATE OR REPLACE TRIGGER SL_CUSTOMERS_TRG BEFORE INSERT ON "ALIZA"."SL_CUSTOMERS" FOR EACH ROW DECLARE dummy VARCHAR2(200); BEGIN dummy := get_SL_CUSTOMERS_vId(); :NEW.CUSTOMER_ID := dummy; END; /
It works very well
Thank you all for the suggestions.
Concerning
-
What's wrong with this code? Race condition?
Guys,
The idea behind the enclosed code is fairly simple.
I have a 2D parent table. First of all, I print a subset of this table in an array of control (based on a selection of sensor). Now, I want to change the numbers in the table. I need changes are reflected in the table and the table parent 2D. (In simple terms, it's like replacing the subset of the table published in the parent 2D table)
The problem is when I change any entry in the table, the entry passes to its original value. The change does not appear to be reflective on the 2D of parent table and the table. .
Can someone tell me where is the problem?
Thank you
Ravi
Thanks for the advice of Chris and ton,
Now the code looks neat and fact exaclty what I wanted.
See you soon
-
What's wrong with this code? :)
Hi guys - would appreciate some help here, I think I'm close, but...
I'm writing javascript to check if several fields are null. Basically if ONE of the fields are filled, then FinanceNotes should = 'filled', if they are null then it should be 'empty '.
The code I have so far is lower however I'm not sure that the correct syntax is to add all the fields (FinanceImpact7, HealthSafetyImpact7 etc.) - is & & or | etc?
If (ImpactsTable.Row1.FinanceImpact7.rawValue == null & & ImpactsTable.Row2.HealthSafetyImpact7.rawValue == null & & ImpactsTable.Row2.OpsBusinessImpact7.rawValue == null)
{
Subform2.ImpactsTable.Row1.FinanceNotes.RawValue = "empty";
}
on the other
{
Subform2.ImpactsTable.Row1.FinanceNotes.RawValue = "full";
}
Bravo!Ellis
You use expressions SOM wrong, because you're pointing to row2, which does not contain the desired field.
Subform2.ImpactsTable.Row1.FinanceNotes.rawValue = ImpactsTable.Row1.FinanceImpact7.isNull && ImpactsTable.Row2.HealthSafetyImpact7.isNull && ImpactsTable.Row2.OpsBusinessImpact7.isNull && ImpactsTable.Row2.OpsCustomersImpact7.isNull && ImpactsTable.Row2.OpsEmployeesImpact7.isNull && ImpactsTable.Row2.ReputationHeader7.isNull && ImpactsTable.Row2.ReputationStakeholders7.isNull ? "empty" : "filled";
Change in:
ImpactsTable.Row1.FinanceNotes.rawValue = ImpactsTable.Row1.FinanceImpact7.isNull && ImpactsTable.Row2.HealthSafetyImpact7.isNull && ImpactsTable.Row3.OpsBusinessImpact7.isNull && ImpactsTable.Row4.OpsCustomersImpact7.isNull && ImpactsTable.Row5.OpsEmployeesImpact7.isNull && ImpactsTable.Row6.ReputationHeader7.isNull && ImpactsTable.Row7.ReputationStakeholders7.isNull ? "empty" : "filled";
-
Can someone tell me what's wrong with this code?
I try to display an 'X' icon beside the offending error. If I take the test 'if' code runs. If I leave it in the symbol does not work.
Thank you
David
var emailFromVal = Email.value;
var messageVal = ' < strong > < p > < police = "helvetica" size = "5" > name: "+ Firstname.value +" < br > < br > Last Name: "+ Lastname.value +" < br > < br > Message: ' + Message.value + '< /p > ";
We add this variable to check if someone find the address of our php file cannot send empty message by calling a php URL file
var Permission = 1;
If ((Firstname.value == "") {})
move the cursor to the error to fix x, y and see the error occurred
SYM. $("Croix") .css ("left", 10);
SYM. $("Croix") .css ('top', 90);
SYM.$("cross"). Show();
}
else {}
Alert ("thank you, we will contact you shortly");
.post $("sendEmail.php", {drapeau: Permission, Courriel: emailFromVal, messages: messageVal});
}
SYM.$("#email"). Detach();
SYM.$("#FirstName"). Detach();
SYM.$("#LastName"). Detach();
SYM.$("#message"). Detach();
Permission = 0;
SYM. Play ("smell");
There are two braces in the stated case
"If ((" remove one of them.
-
What is wrong with this picture?
Maybe you can convince spellchecker to correct system files.
Or go into the command line and try to make all the misspelling.
-
I installed driver ux 16 in my widows 7 and connected to my pc but nothing displays, no .so tracks what is wrong with it please suggest.or how can I do this by using midi for the first time.
In the subject line, type a brief description of your problem or your question. A subject line that says only "Hi alll" not will receive the attention of someone who can be familiar with your particular situation.
Contact the support of Yamaha.
-
What's wrong in my script of wishes?
Hello.
First of all, sorry that do a lot of question, but I can say I'm learning a lot with you!
What's wrong in my script of wishes?
When the number of hours is, for example: 01,02,03,04,05... It always returns 0. But when the number of hours is 10, 11, 12, 13... It works very well.
If (Num2Time (time (), 'H', 'pt_BR') < 6 and Num2Time (time (), 'H', 'pt_BR') < 12) then
this.rawValue = "Hello";
endif
If (Num2Time (time (), 'HH', 'pt_BR') > = 12 and Num2Time (time (), 'HH', 'pt_BR') < 18) then
this.rawValue = "Hello";
endif
If (Num2Time (time (), 'HH', 'pt_BR') > = 18 and Num2Time (time (), 'HH', 'pt_BR') < = 23) then
this.rawValue = "good night";
endif
Thank you
Hi Rafael,.
Download this document, if you haven't already:
http://partners.Adobe.com/public/developer/en/XML/picture_clause_2.0.PDF
There are some problems with the script.
- Use H for lt 6 and HH for lt 12
- Instead of > use gt. See the text below
- The first if statement must be 'or' instead of 'and '.
- FormCalc does not use "this.rawValue", only $, which means the same thing.
- You can drop the semi colon; Since the end of the lines of FormCalc
- I would use an if/else statement.
This should help you closer:
if (Num2Time(time(), "H", "pt_BR") lt 6 or Num2Time(time(), "HH", "pt_BR") lt 12) then $ = "Good Morning" elseif (Num2Time(time(), "HH", "pt_BR") ge 12 and Num2Time(time(), "HH", "pt_BR") lt 18) then $ = "Good Afternoon" elseif (Num2Time(time(), "HH", "pt_BR") ge 18 and Num2Time(time(), "HH", "pt_BR") le 23) then $ = "Good Night" endif
Hope that helps,
Niall
-
I don't know how to fix my sound, or what is wrong with it
help me to solve this problem, please. I do not know how and what's wrong with it? He was slowly.
Thank you
Original title: his record gameHi MarthaWatson,
Follow the troubleshooting steps in this thread to solve most common sound problems.
Let us know if that helps.
-
What's wrong with my syntax?
I get an error with it. What's wrong with my syntax?
Error: Scene 1, Layer 'actions', image1, line 21 1084: Syntax error: expecting rightparen before semicolon.
Line 21
Holder.Load (new URLRequest ("Interactive_StrategyMap.swf"+"? random =" + Math.random () ;));))
You must get rid of this semicolon just siiting after Math.Random () leave that only at the end.
-
Hi friends,
When I try to run the following query
Im getting error asselect user_name from xx_user where lower(user_name) in( select substr(lower(supf.first_name),1,1)|| lower(supf.last_name) from per_all_people_f papf, per_all_assignments_f paaf, per_all_people_f supf where papf.business_group_id = 216 and papf.person_id = paaf.person_id and NVL(paaf.supervisor_id, papf.person_id) = supf.person_id and sysdate between papf.effective_start_date and papf.effective_end_date and sysdate between paaf.effective_start_date and paaf.effective_end_date and sysdate between supf.effective_start_date and supf.effective_end_date and papf.person_type_id = 5145 and level >=1 start with substr(lower(papf.first_name),1,1)|| lower(papf.last_name) in (select substr(lower(papf.first_name),1,1)|| lower(papf.last_name) from xx_history xx, per_all_people_f papf where xx.emp_no=papf.person_id and xx.old_mrg_id <> xx.new_mgr_id) connect by papf.person_id = prior paaf.supervisor_id and level <=1 order by rownum desc)
ORA-00907: lack the right parenthesis
But if I run this part of the single application, it works very well
This query returns a correct in a rowselect substr(lower(supf.first_name),1,1)|| lower(supf.last_name) from per_all_people_f papf, per_all_assignments_f paaf, per_all_people_f supf where papf.business_group_id = 216 and papf.person_id = paaf.person_id and NVL(paaf.supervisor_id, papf.person_id) = supf.person_id and sysdate between papf.effective_start_date and papf.effective_end_date and sysdate between paaf.effective_start_date and paaf.effective_end_date and sysdate between supf.effective_start_date and supf.effective_end_date and papf.person_type_id = 5145 and level >=1 start with substr(lower(papf.first_name),1,1)|| lower(papf.last_name) in (select substr(lower(papf.first_name),1,1)|| lower(papf.last_name) from xx_history xx, per_all_people_f papf where xx.emp_no=papf.person_id and xx.old_mrg_id <> xx.new_mgr_id) connect by papf.person_id = prior paaf.supervisor_id and level <=1 order by rownum desc)
tmcdermott
guess if I run as the means below, it works
But I don't know why it doesn't work if I run as the way to above(top-most).select user_name from xx_user where lower(user_name) in 'tmcdermott'
What's wrong with him
Brgds,
MiniHello
Move the bracket, so last two lines become
AND LEVEL <= 1) ORDER BY ROWNUM DESC
Concerning
Peter -
Rounded corners code - what is wrong with my code?
Hello
I'm trying to use Win DW5 and CSS3 for rounded corners of the boxes (only at the top left and top right rounded - down should be square) in pure CSS3.
Can someone tell me what is wrong with my code below? (Top of page code makes 4 corners roudned and background code doesn't appear to upper right corner rounded - and not the left one.
< div style = "padding: 10px;" Width: 445px; height: 370px; border-radius: 10px; -o-border-radius: 10px; -icab-border-radius: 10px; -khtml-border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; background-color: #d1ddf7; border: 1px solid #000; ">
< / div >
< p > < / p >
"< div style =" width: 445px; height: 370px;
border-radius:
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
background-color: #d1ddf7; border: 1px solid #000; ">
< / div >
"Thx. for any help.
Jane
Take a look at this:
http://www.CSS3.info/preview/rounded-border/
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB
http://ALT-Web-design.blogspot.com/ -
Which is wrong with this query?
SELECT THE PRODUCT. PRODUCT_ID PRODUCT. PRODUCT_DESCRIPTION, PRODUCT. PR_CURRENT_YEAR_SALES_GOAL, (ORDER_QUANTITY * PRODUCT_PRICE) AS sales so far
ORDER, ORDER_LINE, PRODUCT, PRODUCT_LINE
WHERE TO ORDER. ORDER_NUMBER = ORDER_LINE. ORDER_NUMBER
AND THE PRODUCT. PRODUCT_ID = ORDERED_PRODUCT. PRODUCT_ID
AND THE PRODUCT. PRODUCT_ID = PRODUCT_LINE. PRODUCT_ID
AND THE PRODUCT. PRODUCT_LINE_NAME = 'Home Office ';
There is something wrong with this request, but I don't see what it is. Anyone know whats wrong with it and perhaps what would be the correct way to request program?There is another thing that I noticed:
You seem to have used a Table name: "ORDERED_PRODUCT. PRODUCT_ID' in your WHERE clause that is not in your FROM clause
See you soon-
-
When I click on any icon in my control panel, a black window opens and C:WINDOWS\system32\rundll32.exe is what's wrong with the system
{Assuming the rundll32.exe file is not found}
See if them can restore the file rundll32.exe:
http://support.Microsoft.com/kb/812340 Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience] -
I have CC 2015. When I'm working in camera raw under lens Corrections no profile tab is displayed. What is happening with this? I have a color tab and a manual tab but no profile tab.
Hi stephenr,.
When you open a raw image in Photoshop, it will open in Camera Raw first and you would be able to see the profile tab of sub Lens Correction
However, when you go to the filter menu > filter Camera Raw > then tab of profile is not supposed to be there, and this is the expected behavior.
Maybe you are looking for
-
I can sync my z22 with Windows 10
I downloaded Palm 6.2.2 and the pilot who was recommended in a previous post on this issue. How can I get the driver for attaching to the Palm 6.2.2?
-
Two clients to connect to a server?
Hi all I want to develop applications for server and clients of more than one, how do I change the examples in the example of LabWindows/CVI 2013 finder, Networking\TCP & UDP\ Server.CWS and client.cws? I don't then do the programe kindly helps the t
-
original title: I have vista home basic version 6.0.Have he had four 13months. I get the message windows cannot update, any ideas? As I said above, get message - Windows cannot update - any ideas?
-
How to connect to the administrator account after that I removed it to a domain?
I'm a network administrator, and I tried to delete a network computer (XP Pro SP3) to donate now. I went to properties system, under the name of the computer, I clicked network ID and replaced by "it is a home computer, it does not part of a network
-
Problem in installing SQL server 2008 R2
I install SQL Server 2008 R2 in my system. But in the final phase, it shows an error saying that it could not write to key do you. What should I do now?