Forms 6i: Dynamically attach/detach LOV
Hi,
Is there a way to dynamically attach or detach an LOV to an item at run-time?
Thanks.
Yes. you are right. I thought about set the lov_name to null but
I only looked the help says
"LOV_NAME Specify the VARCHAR2 name of an LOV to be associated with the given item. If the LOV name does not exist, you will get an error message. "
but did not do my own test.
Hedy
Similar Messages
-
How to attach Item LOV to new Customized form.
Is it possible to attach Item Lov to new customized form in EBS12.04.
For example
I have created new form and i want to attach LOV of Item like in Requisition Form a LOV attached with Item Text Box.Thanks avajain for reply,
I can create new lov and attach it with item. But i want to call same API or LOV which is called from Purchasing-->requisition-->Item . Where from you select Item Class, Sub Class, serial.
Regards,
Fassi -
Can you dynamically change an LOV on the parameter form based on other params?
Can you dynamically change an LOV on the parameter form based on other parameters? For example, based on a entered purchase order number, create an LOV of the purchase order lines that belong to the entered PO #.
Hi
Accouding to my knoledge you can't do it.
If you want to build lov for that particular
value, you can do it in Forms.
Vijay -
Attaching/Detaching libraries with Java API
Hello,
In my forms (Forms10g), sometimes, libraries had been attached in lower case although files are in upper case. This causes compilation errors on UNIX systems.
I'm trying to detach these libraries with Java APIs and then reattach them in upper case.
But I get an error when I want to save the module.
Here is my code :
public class UpperPll {
public UpperPll (String formName) {
try
FormModule form = FormModule.open("C:/AttachPll/" + formName);
System.out.println("Form Name is " + form.getName());
JdapiIterator AttachPll = form.getAttachedLibraries();
while(AttachPll.hasNext())
try
JdapiObject jo = (JdapiObject)AttachPll.next();
System.out.println(jo.getName());
if (jo.getName().toLowerCase().equals(jo.getName()))
AttachedLibrary.find(form,jo.getName().toUpperCase()).detach();
System.out.println(jo.getName().toUpperCase());
new AttachedLibrary(form,jo.getName().toUpperCase());
catch (JdapiIllegalStateException jdise)
jdise.printStackTrace();
form.save("C:/AttachPll/New/" + form.getName() + ".fmb");
Jdapi.shutdown();
catch (JdapiException jde)
jde.printStackTrace();
public static void main (String[] args) {
try {
FileReader r = new FileReader( "C:/AttachPll/listemodule.txt" );
BufferedReader br = new BufferedReader( r );
try {
String module;
while ( ( module = br.readLine() ) != null ) {
new UpperPll(module);
} finally {
r.close();
} catch (FileNotFoundException fnfe) {
fnfe.printStackTrace();
} catch (IOException ioe) {
ioe.printStackTrace();
And here are the errors I get :
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x2FBBDCB
Function=icobad+0xB
Library=C:\DevSuiteHome_1\bin\frmcom.dll
Current Java thread:
at oracle.forms.jdapi.BaseAPI._jni_save_form(Native Method)
at oracle.forms.jdapi.FormModule.save(Unknown Source)
at UpperPll.<init>(UpperPll.java:39)
at UpperPll.main(UpperPll.java:55)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\DevSuiteHome_1\jdk\bin\javaw.exe
0x7C910000 - 0x7C9C7000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C904000 C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E4C000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E50000 - 0x77EE1000 C:\WINDOWS\system32\RPCRT4.dll
0x77D10000 - 0x77DA0000 C:\WINDOWS\system32\USER32.dll
0x77EF0000 - 0x77F37000 C:\WINDOWS\system32\GDI32.dll
0x77BE0000 - 0x77C38000 C:\WINDOWS\system32\MSVCRT.dll
0x62DC0000 - 0x62DC9000 C:\WINDOWS\system32\LPK.DLL
0x753C0000 - 0x7542B000 C:\WINDOWS\system32\USP10.dll
0x08000000 - 0x08139000 C:\DevSuiteHome_1\jdk\jre\bin\client\jvm.dll
0x76AE0000 - 0x76B0F000 C:\WINDOWS\system32\WINMM.dll
0x6BD00000 - 0x6BD0D000 C:\WINDOWS\system32\SYNCOR11.DLL
0x10000000 - 0x10007000 C:\DevSuiteHome_1\jdk\jre\bin\hpi.dll
0x00940000 - 0x0094E000 C:\DevSuiteHome_1\jdk\jre\bin\verify.dll
0x00950000 - 0x00969000 C:\DevSuiteHome_1\jdk\jre\bin\java.dll
0x00970000 - 0x0097D000 C:\DevSuiteHome_1\jdk\jre\bin\zip.dll
0x02F60000 - 0x02F6F000 C:\DevSuiteHome_1\BIN\frmjapi.dll
0x02F70000 - 0x02F8C000 C:\DevSuiteHome_1\bin\frmd2f.dll
0x663D0000 - 0x66414000 C:\DevSuiteHome_1\bin\CA.dll
0x66340000 - 0x6636A000 C:\DevSuiteHome_1\bin\mmc.dll
0x64CA0000 - 0x64CB1000 C:\DevSuiteHome_1\bin\UTL.dll
0x60730000 - 0x607DC000 C:\DevSuiteHome_1\bin\oracore10.dll
0x608D0000 - 0x60963000 C:\DevSuiteHome_1\bin\oranls10.dll
0x62B40000 - 0x62B53000 C:\DevSuiteHome_1\bin\oraunls10.dll
0x60C40000 - 0x60C47000 C:\DevSuiteHome_1\bin\orauts.dll
0x719F0000 - 0x71A07000 C:\WINDOWS\system32\WS2_32.dll
0x719E0000 - 0x719E8000 C:\WINDOWS\system32\WS2HELP.dll
0x774A0000 - 0x775DD000 C:\WINDOWS\system32\ole32.dll
0x616B0000 - 0x61891000 C:\DevSuiteHome_1\bin\oraclient10.dll
0x62B60000 - 0x62B66000 C:\DevSuiteHome_1\bin\oravsn10.dll
0x60D30000 - 0x60DE8000 C:\DevSuiteHome_1\bin\oracommon10.dll
0x60300000 - 0x60720000 C:\DevSuiteHome_1\bin\orageneric10.dll
0x629C0000 - 0x629D2000 C:\DevSuiteHome_1\bin\orasnls10.dll
0x62B80000 - 0x62C86000 C:\DevSuiteHome_1\bin\oraxml10.dll
0x02F90000 - 0x02FA1000 C:\WINDOWS\system32\MSVCIRT.dll
0x607E0000 - 0x608CC000 C:\DevSuiteHome_1\bin\oran10.dll
0x62000000 - 0x6202C000 C:\DevSuiteHome_1\bin\oranl10.dll
0x62030000 - 0x62042000 C:\DevSuiteHome_1\bin\oranldap10.dll
0x62090000 - 0x62184000 C:\DevSuiteHome_1\bin\orannzsbb10.dll
0x61E10000 - 0x61E52000 C:\DevSuiteHome_1\bin\oraldapclnt10.dll
0x61F30000 - 0x61F47000 C:\DevSuiteHome_1\bin\orancrypt10.dll
0x71A10000 - 0x71A1A000 C:\WINDOWS\system32\WSOCK32.dll
0x76D10000 - 0x76D29000 C:\WINDOWS\system32\iphlpapi.dll
0x770E0000 - 0x7716C000 C:\WINDOWS\system32\OLEAUT32.dll
0x621A0000 - 0x621D7000 C:\DevSuiteHome_1\bin\oranro10.dll
0x621F0000 - 0x621FC000 C:\DevSuiteHome_1\bin\orantcp10.dll
0x61F70000 - 0x61F76000 C:\DevSuiteHome_1\bin\oranhost10.dll
0x61F20000 - 0x61F26000 C:\DevSuiteHome_1\bin\orancds10.dll
0x62210000 - 0x62216000 C:\DevSuiteHome_1\bin\orantns10.dll
0x60970000 - 0x60C31000 C:\DevSuiteHome_1\bin\orapls10.dll
0x62500000 - 0x62507000 C:\DevSuiteHome_1\bin\oraslax10.dll
0x627B0000 - 0x628B3000 C:\DevSuiteHome_1\bin\oraplp10.dll
0x618B0000 - 0x61905000 C:\DevSuiteHome_1\bin\orahasgen10.dll
0x622B0000 - 0x622E6000 C:\DevSuiteHome_1\bin\oraocr10.dll
0x622F0000 - 0x62315000 C:\DevSuiteHome_1\bin\oraocrb10.dll
0x6FEE0000 - 0x6FF34000 C:\WINDOWS\system32\NETAPI32.dll
0x76BA0000 - 0x76BAB000 C:\WINDOWS\system32\PSAPI.DLL
0x62A80000 - 0x62AF6000 C:\DevSuiteHome_1\bin\orasql10.dll
0x662F0000 - 0x66320000 C:\DevSuiteHome_1\bin\mmi.dll
0x64F10000 - 0x64F21000 C:\DevSuiteHome_1\bin\UIIM.dll
0x64CE0000 - 0x64DBD000 C:\DevSuiteHome_1\bin\UIW.dll
0x64CD0000 - 0x64CD7000 C:\DevSuiteHome_1\bin\UTC.dll
0x64CC0000 - 0x64CC9000 C:\DevSuiteHome_1\bin\UTJ.dll
0x72F50000 - 0x72F76000 C:\WINDOWS\system32\WINSPOOL.DRV
0x58B50000 - 0x58BE7000 C:\WINDOWS\system32\COMCTL32.dll
0x64ED0000 - 0x64EF6000 C:\DevSuiteHome_1\bin\UIOLE.dll
0x76340000 - 0x7638A000 C:\WINDOWS\system32\comdlg32.dll
0x77F40000 - 0x77FB6000 C:\WINDOWS\system32\SHLWAPI.dll
0x7C9D0000 - 0x7D1F3000 C:\WINDOWS\system32\SHELL32.dll
0x64AD0000 - 0x64C05000 C:\DevSuiteHome_1\bin\VGS.dll
0x64E30000 - 0x64E93000 C:\DevSuiteHome_1\bin\UIREM.dll
0x659A0000 - 0x659EE000 C:\DevSuiteHome_1\bin\ROS.dll
0x66250000 - 0x6627E000 C:\DevSuiteHome_1\bin\mmw.dll
0x662A0000 - 0x662B0000 C:\DevSuiteHome_1\bin\mmv.dll
0x73AA0000 - 0x73AB7000 C:\WINDOWS\system32\AVIFIL32.dll
0x77BB0000 - 0x77BC5000 C:\WINDOWS\system32\MSACM32.dll
0x75BA0000 - 0x75BC1000 C:\WINDOWS\system32\MSVFW32.dll
0x662C0000 - 0x662DF000 C:\DevSuiteHome_1\bin\mms.dll
0x66810000 - 0x66A2B000 C:\DevSuiteHome_1\bin\DE.dll
0x627A0000 - 0x627AF000 C:\DevSuiteHome_1\bin\oraplc10.dll
0x64F50000 - 0x64F66000 C:\DevSuiteHome_1\bin\UICC.dll
0x64FB0000 - 0x64FDA000 C:\DevSuiteHome_1\bin\UCOL.dll
0x02FB0000 - 0x030CA000 C:\DevSuiteHome_1\bin\frmcom.dll
0x66380000 - 0x66389000 C:\DevSuiteHome_1\bin\mma.dll
0x64FF0000 - 0x65003000 C:\DevSuiteHome_1\bin\UAT.dll
0x66220000 - 0x6623C000 C:\DevSuiteHome_1\bin\nn.dll
0x64F70000 - 0x64F94000 C:\DevSuiteHome_1\bin\UIA.dll
0x64F30000 - 0x64F45000 C:\DevSuiteHome_1\bin\UIDC.dll
0x030D0000 - 0x03194000 C:\DevSuiteHome_1\bin\frmdig.dll
0x031A0000 - 0x0324D000 C:\DevSuiteHome_1\bin\frmdug.dll
0x66210000 - 0x66215000 C:\DevSuiteHome_1\bin\obs.dll
0x77390000 - 0x77492000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5B090000 - 0x5B0C8000 C:\WINDOWS\system32\uxtheme.dll
0x74690000 - 0x746DB000 C:\WINDOWS\system32\MSCTF.dll
0x76BE0000 - 0x76C0E000 C:\WINDOWS\system32\WINTRUST.dll
0x779E0000 - 0x77A76000 C:\WINDOWS\system32\CRYPT32.dll
0x77A80000 - 0x77A92000 C:\WINDOWS\system32\MSASN1.dll
0x76C40000 - 0x76C68000 C:\WINDOWS\system32\IMAGEHLP.dll
0x72C70000 - 0x72C79000 C:\WINDOWS\system32\wdmaud.drv
0x72C60000 - 0x72C68000 C:\WINDOWS\system32\msacm32.drv
0x77BA0000 - 0x77BA7000 C:\WINDOWS\system32\midimap.dll
0x5D3F0000 - 0x5D491000 C:\WINDOWS\system32\DBGHELP.dll
0x77BD0000 - 0x77BD8000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 576K, used 35K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 6% used [0x10010000, 0x10017c90, 0x10090000)
from space 64K, 7% used [0x10090000, 0x10091348, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 1408K, used 122K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 8% used [0x104f0000, 0x1050e930, 0x1050ea00, 0x10650000)
compacting perm gen total 4096K, used 1642K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 40% used [0x14010000, 0x141aaac8, 0x141aac00, 0x14410000)
Local Time = Wed Apr 12 10:35:49 2006
Elapsed Time = 5
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
# An error report file has been saved as hs_err_pid3184.log.
# Please refer to the file for further information.
Can anyone help me ?
Message was edited by:
dbouchierWe do something very simular. We rename everything to lowercase for the same reasons. I've pasted a snippet of the code we're using at the end of this post.
To get the full source code of our converter have a look at http://www.oratransplant.nl/2005/05/30/custom-built-forms-migration-assistant/#comment-642
Here is the code snippet:
while (attachedLibs.hasNext()) {
AttachedLibrary attachedLib = (AttachedLibrary)attachedLibs.next();
String attachedLibLocation = attachedLib.getLibraryLocation();
out("Found attached library " + attachedLibLocation, logLevel,
false);
if (attachedLib.getName().equalsIgnoreCase("obsolete_forms6")) {
obsoleteAttached = true;
if (attachedLib.getName().equalsIgnoreCase("webreports")) {
webReportsAttached = true;
// converted name of attached lib to lowercase
if ((!attachedLibLocation.equals(attachedLibLocation.toLowerCase())) &&
lowerLib) {
out(attachedLib,
"Converting filename to lowercase (" + attachedLibLocation.toLowerCase() +
")", logLevel + 1, true);
attachedLibLocation = attachedLibLocation.toLowerCase();
pllChanged = true;
// attachedLibLocation = attachedLibLocation.toUpperCase();
pldText.append(".attach LIBRARY " + attachedLibLocation +
" END NOCONFIRM\n");
out("Re-attaching library " + attachedLibLocation, logLevel + 1,
false);
} -
How to email PDF form as an attachment?
Hi All,
I have developed online interactive form app(dynamic).
When user clicks the submit button after entered the data,
I want to email the PDF form as an attachment to some users.
Could anyone please explain the steps or give me some sample code?
Thanks
SundarI found this in one of the forums dont remember which, here is the code
public boolean EmailForm( java.lang.String pernr, java.lang.String toEmail, java.lang.String fromEmail )
//@@begin EmailForm()
boolean flag = true;
try {
String host = "exchangerelay.yourserver.com";
// Get system properties
Properties props = System.getProperties();
// Setup mail server
props.put("mail.smtp.host", host);
// Get session
Session session = Session.getDefaultInstance (props, null);
// Define message
MimeMessage message = new MimeMessage(session);
byte[] b = wdContext.currentContextElement().getPdfSource();
//Attachment
ByteArrayInputStream ba = new ByteArrayInputStream(b);
String filename ="Filename.pdf";
//This will create a file on the server under folder "server0"
File file = new File(filename);
FileOutputStream fos = new FileOutputStream(file);
int i = 0;
for (i = 0; i < b.length; i++) {
fos.write(b<i>);
fos.close();
DataSource source = new FileDataSource(file);
BodyPart messageBodyPart = new MimeBodyPart();
message.setFrom(new InternetAddress(fromEmail));
message.addRecipient(
Message.RecipientType.TO,
new InternetAddress(toEmail));
message.setSubject ("Subject : ");
message.setText(
"This is a confirmation receipt.");
Multipart multipart = new MimeMultipart();
messageBodyPart.setDataHandler(new DataHandler(source));
messageBodyPart.setHeader("Content-Type", "application/pdf");
messageBodyPart.setFileName(filename);
multipart.addBodyPart(messageBodyPart);
message.setContent(multipart);
Transport transport = session.getTransport("smtp");
transport.connect(host, "username", "password");
transport.sendMessage(message, message.getAllRecipients());
transport.close();
flag = true;
//delete file if you want to here
file.delete();
} catch (FileNotFoundException e) {
flag = false;
wdComponentAPI.getMessageManager().reportException(
"FileNotFoundException : " + e.getMessage(),
false);
} catch (IOException e) {
flag = false;
wdComponentAPI.getMessageManager ().reportException(
"IOException : " + e.getMessage(),
false);
} catch (MessagingException e) {
flag = false;
wdComponentAPI.getMessageManager().reportException(
"MessagingException : " + e.getMessage(),
false);
return flag;
//@@end
thanks,
Sanketh -
Hi Experts,
I am using xml based Adobe forms (ordinary print form) in WebDynpro component. I got one requirement to send that form as an attachment to dynamic email id either from form or from WebDynpro component.
I tried using email submit button in adobe form , which allows to specify only static email id.
Please suggest your ideas to send that to dynamic email id.
Regards,
Kiruba.Hi Kiruba,
This question was addressed multiple times, you sud have searched it first.
have a hidden field in your form
set email id to this field.
have the belocode on click event of the email button.
this.resolveNode("#event.#submit").target = "mailto:"+<your emalid field's rawvalue>
Re: Dynamic E-Mail address in Interactive Forms?
this is the post with the solution and it worked.
Cheers,
Sai -
APEX 4.1 dynamic parent child LOV
Is is possible to create a dynamic parent child LOV? I want to be able to use information populated by a user on a form to become a select list on a subsequent form where the second field (child) is dependent on what is selected on the first field (parent). The list needs to grow based on data entered on the initial form and maintain the relationship.
You should post this in the APEX forum.
Oracle Application Express (APEX)
Please open a thread on the APEX forum, update this thread with the link to the new thread and the mark this thread ANSWERED. -
I have created a form in InDesign, exported to a pdf, then created an editable form and saved. When I open the form and make changes and save, then reopen the changes are there. If try to email this form as an attachment after editing, the attachment is always minus the edits. ????
Hi chuck,
If you ave created the form and then filling it yourself and saving the form, the filled data should be there when you reopen the same form.
Can you please send the form to me at [email protected] so that I can have a look.
Regards,
Rave -
How to create a MD form using dynamic page ?
Rahul and Sharmila,
You have answered several of my queries earlier and I am thankful for them.
I have been trying to creating a MD form using dynamic page and I haven't fiqured it out. I need help. You both advised me on creating a simple form using dynamic page. The complexity changes drastically when I have to create a MD form. Has no body ever tried to create a MD form with dynamic page?
I haven't heard from you anything either. I am stuck with this and I need help urgently. Would you kindly tell me if this is possible and how ? Otherwise, I will stop crying for help on this.
Thanks for your kind attention.
MainakHi,
I have replied to this in the morning.
Re: Oracle portal and JSR 168 compliance
Hope it helps.
Thanks,
Sharmila -
Form in Dynamic page not working when checkbox is used.
I have created a form using dynamic page. The form most have display fields and a checkbox field. When I check a box, it assigns 'Y' value and when unclick, it assign 'N' to the database field.
When I submit the form, the procedure which is supposed to save the form data never gets executed. Well, at least it says, page not found HTTP 404 error.
Interestingly if I make this field a text box and manually enter 'Y' or 'N', and then submit the form, the procedure is executed. Data gets saved.
Is the checkbox not supposed to be used for a database field because checkbox value can be assigned only using javascript and the procedure never get that value ?
Can you please tell me how to use a checkbox for a database field using dynamic page ?
thanks,
MainakSharmila,
When I said, the form does not get submitted, I meant that the procedure does not work. The form gets submitted but the procedure does not work. It gives HTTP 404 error. That is what perplexes me. I am unable to understand why the procedure does not work when I click a checkbox.
May be you can make this work. I am hopeless about this.
Here is the code for the procedure sumbit_form:
NOTE: I ADDED TWO FIELDS CALLED PROMOT VARCHAR2(1), PROMOTID NUMBER(4) TO THE EMP TABLE AND CREATED A NEW TABLE CALLED PROMOTEMP. THIS IS A TEST CASE.
create or replace procedure sumbit_form
(p_empno IN portal30.wwv_utl_api_types.vc_arr, p_promot IN portal30.wwv_utl_api_types.vc_arr, p_action IN VARCHAR2)
is
begin
if p_action = 'save' then
for i in 1..p_empno.count LOOP
update scott.promotemp
set promot = p_promot(i)
where empno = p_empno(i);
END LOOP;
end if;
commit;
htp.p('<b>Saved Successfully</b>');
htp.p('<table border=1 bordercolor="red">');
for c1 in (select * from promotemp where promot='Y')
LOOP
htp.p('<tr><td>');
htp.p(c1.ename);
htp.p('</td><td>');
htp.p(c1.job);
htp.p('</td><td>');
htp.p(c1.mgr);
htp.p('</td><td>');
htp.p(c1.sal);
htp.p('</td><td>');
htp.p(c1.deptno);
htp.p('</td></tr>');
end loop;
htp.p('</table>');
EXCEPTION
when others then
raise;
end;
Here is the code for the dynamic page.
<HTML>
<HEAD>
<TITLE>Promot Emp</TITLE>
<script language="JavaScript1.1">
function include(form) {
var thisform = form;
for (var i=0; i<thisform.length; i++) {
if (thisform.elements.type == 'checkbox') {
if (thisform.elements[i].checked) {
thisform.elements[i].value = 'Y'; }
else { thisform.elements[i].value = 'N'; }
form.submit();
function show(form) {
var thisform = form;
for (var i=0; i<thisform.length; i++) {
if (thisform.elements[i].type == 'checkbox') {
if (thisform.elements[i].value = 'Y') {
thisform.elements[i].checked = true; }
else { thisform.elements[i].checked = false; }
</script>
</HEAD>
<BODY>
<FORM action="scott.sumbit_form" method="post">
<table border=1 bordercolor="red">
<tr>
<td> </td>
<td>Name</td>
<td>Job</td>
<td>Manager</td>
<td>Hire Date</td>
<td>Commission</td>
<td>Department#</td>
<td>Include</td>
</tr>
<ORACLE>declare
i number;
begin
i := 0;
for c1 in (select * from scott.promotemp where promotid = :promotid)
loop
htp.p('<tr><td>');
htp.p('<input type="hidden" name="p_empno" value='||c1.empno||'>');
htp.p('</td><td>');
htp.p(c1.ename);
htp.p('</td><td>');
htp.p(c1.job);
htp.p('</td><td>');
htp.p(c1.mgr);
htp.p('</td><td>');
htp.p(c1.hiredate);
htp.p('</td><td>');
htp.p(c1.comm);
htp.p('</td><td>');
htp.p(c1.deptno);
htp.p('</td><td>');
if (c1.promot = 'Y') then
htp.p('<SELECT NAME="p_promot" SIZE="1">
<OPTION SELECTED VALUE="'||c1.promot||'">Yes
<OPTION VALUE="N">No
</SELECT>');
else
htp.p('<SELECT NAME="p_promot" SIZE="1">
<OPTION SELECTED VALUE="'||c1.promot||'">No
<OPTION VALUE="Y">Yes
</SELECT>');
end if;
htp.p('</td></tr>');
end loop;
htp.p('</table>');
htp.p('<input type="submit" value="save" name="p_action">');
end;
</ORACLE>
</form>
</BODY>
</HTML>
thanks,
Mainak -
I am new to working with pdf. I am trying to fill out a form that was attached to a website. I have a Macbook Pro and I am trying to learn Acrobat. How do I get the form to accept my input?
If there are Acrobat PDF form fields, not jus a space for a form field, then you will have to add them. It would be better to ask the provider of the form to add the fields. If you cannot add the fields, then you can use the add text feature.
Have you looked in the "Tools" panel for the "Forms" category?
Try Acrobat Users Community Tutorials , http://acrobatusers.com/tutorials.
See Adobe TV - Acrobat, http://tv.adobe.com/channel/how-to/acrobat-xi-tutorials/. -
E-mail messages with text in the form of an attached file?
Some of the e-mails I send are being received without any text but with my original message in the form of an attachment together with any other attachments I have sent. This results in some people not opening my mails or at least not understanding why I'm sending the attachments. Is this a compatibility problem? Is there anything I can do about the fact that not everybody in the world has a Mac? I thought the system of Windows friendly messages avoided this problem. Look forward to hearing anyone's thoughts on the matter and especially finding a solution.
Best,
KenPerhaps the boolean expression isn't working because it needs to be all caps: YES instead of yes
In any case, a simple 1 or 0 works just fine for me without -bool:
The command to disable in-line attachments (all attachments appear as icons)
defaults write com.apple.mail DisableInlineAttachmentViewing 1
To command to (re-)enable in-line attachments once disabled (all attachments appear as images or documents displayed in-line)
defaults write com.apple.mail DisableInlineAttachmentViewing 0
Also, when composing a new message with an attachment, be certain that 'Send Windows-Friendly Attachments' is checkmarked at the bottom of the new message screen: -
I am in the process of building an application where all of
the functions will be eventually exported into seperate AS files. I
am having issues with a Sub Navigation that is attached and managed
dynamically.
The Sub Navigation is in an MC which contains a mask (which
has a tween animation to add a fade in effect), and a blank MC
which will contain all of the navigation items.
Upon load of an XML file, the navigation items are extracted
and buttons are created within the blank MC. Each button is
inserted using the blank MC instance name at the next highest
depth.
All of the actions associated with the above need to be
issued from the root timeline but when I call the dynamically
attached clips (full target path) it cannot seem to find the clips.
I have checked the target path numerous times and used a variety of
debugging techniques but no luck.
Has anyone else had issued targeting dynamically attached
MC's that are nested two - three levels deep?
Thank you so much in advance!Here is what is being returned by the output when the Sub
Navigation is displayed:
Level #0:
Variable _level0.$version = "MAC 8,0,22,0"
Variable _level0.NAV_Active = false
Variable _level0.NAV_ActiveButton = 0
Variable _level0.NAV_MaximumButtons = 7
Variable _level0.NAV_EaseSpeed = 1.5
Variable _level0.Navigation_ActiveButton = 0
Variable _level0.SubNavigation_XML =
"_xml/DestinationDetails.xml"
Variable _level0.SubNavigation_ItemCount = 0
Variable _level0.SubNavigation_ItemsXPositioning = 10
Variable _level0.SubNavigation_ItemsYPositioning = 12
Movie Clip: Target="_level0.instance1"
Movie Clip: Target="_level0.instance2"
Movie Clip: Target="_level0.instance3"
Movie Clip: Target="_level0.instance4"
Movie Clip: Target="_level0.instance5"
Movie Clip: Target="_level0.instance6"
Movie Clip: Target="_level0.NAV_Master"
Movie Clip: Target="_level0.NAV_Master.instance7"
Movie Clip: Target="_level0.NAV_Master.SNAV_Master"
Movie Clip: Target="_level0.NAV_Master.SNAV_Master.instance8"
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Button_Container"
Movie Clip: Target="_level0.NAV_Master.SNAV_Master.instance9"
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Scroll_Down"
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Scroll_Down.States"
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Scroll_Down.States.instance10"
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Scroll_Down.instance11"
Movie Clip: Target="_level0.NAV_Master.SNAV_Master.Scroll_Up"
Variable _level0.NAV_Master.SNAV_Master.Scroll_Up.onRollOver
= [function 'onRollOver']
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Scroll_Up.States"
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Scroll_Up.States.instance12"
Movie Clip:
Target="_level0.NAV_Master.SNAV_Master.Scroll_Up.instance13"
Movie Clip: Target="_level0.NAV_Master.PNB_6"
Variable _level0.NAV_Master.PNB_6.onRollOver = [function
'onRollOver']
Variable _level0.NAV_Master.PNB_6.onRollOut = [function
'onRollOut']
Variable _level0.NAV_Master.PNB_6.onRelease = [function
'onRelease']
Movie Clip: Target="_level0.NAV_Master.PNB_6.PNBS_6"
Movie Clip: Target="_level0.NAV_Master.PNB_5"
Variable _level0.NAV_Master.PNB_5.onRollOver = [function
'onRollOver']
Variable _level0.NAV_Master.PNB_5.onRollOut = [function
'onRollOut']
Variable _level0.NAV_Master.PNB_5.onRelease = [function
'onRelease']
Movie Clip: Target="_level0.NAV_Master.PNB_5.PNBS_5"
Movie Clip: Target="_level0.NAV_Master.PNB_4"
Variable _level0.NAV_Master.PNB_4.onRollOver = [function
'onRollOver']
Variable _level0.NAV_Master.PNB_4.onRollOut = [function
'onRollOut']
Variable _level0.NAV_Master.PNB_4.onRelease = [function
'onRelease']
Movie Clip: Target="_level0.NAV_Master.PNB_4.PNBS_4"
Movie Clip: Target="_level0.NAV_Master.PNB_3"
Variable _level0.NAV_Master.PNB_3.onRollOver = [function
'onRollOver']
Variable _level0.NAV_Master.PNB_3.onRollOut = [function
'onRollOut']
Variable _level0.NAV_Master.PNB_3.onRelease = [function
'onRelease']
Movie Clip: Target="_level0.NAV_Master.PNB_3.PNBS_3"
Movie Clip: Target="_level0.NAV_Master.PNB_2"
Variable _level0.NAV_Master.PNB_2.onRollOver = [function
'onRollOver']
Variable _level0.NAV_Master.PNB_2.onRollOut = [function
'onRollOut']
Variable _level0.NAV_Master.PNB_2.onRelease = [function
'onRelease']
Movie Clip: Target="_level0.NAV_Master.PNB_2.PNBS_2"
Movie Clip: Target="_level0.NAV_Master.PNB_1"
Variable _level0.NAV_Master.PNB_1.onRollOver = [function
'onRollOver']
Variable _level0.NAV_Master.PNB_1.onRollOut = [function
'onRollOut']
Variable _level0.NAV_Master.PNB_1.onRelease = [function
'onRelease']
Movie Clip: Target="_level0.NAV_Master.PNB_1.PNBS_1"
Movie Clip: Target="_level0.NAV_Master.PNB_0"
Variable _level0.NAV_Master.PNB_0.onRollOver = [function
'onRollOver']
Variable _level0.NAV_Master.PNB_0.onRollOut = [function
'onRollOut']
Variable _level0.NAV_Master.PNB_0.onRelease = [function
'onRelease']
Movie Clip: Target="_level0.NAV_Master.PNB_0.PNBS_0" -
HTMLDB 2.0 bug - tabular forms - select list from named LOV
Hi!
Changing a column in a tabular form to 'select list (named lov)' gets the following error in HTMLDB 2.0 when you try to add a row (to an empty table in my case):
PL/SQL error at column 133.
Create a table and then create a tabular form on it. Then change a report column to be a 'select list (named lov)'. Save and run the form and the error occurs.
Thanks!
Dave VenusBrian,
This example:
http://htmldb.oracle.com/pls/otn/f?p=31517:176
and this example:
http://htmldb.oracle.com/pls/otn/f?p=31517:160
may help you.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Help With Dynamic PL/SQL LOV Syntax
Hello
I am trying to create a dynamic pl/sql lov in Oracle Apex 3.2 on 11g. I am having some issues with the syntax of the statements below and I'd appreciate any suggestions.
DECLARE
BEGIN
IF :p3_current_a_workshop != 0 THEN
RETURN
'select distinct workshop_title ||': ' || presenter_name ||' $'|| workshop_fee display_value, workshop_id return_value
from WORKSHOP
where session_time = 'A'
and workshop_status = 'Open'
or workshop_id = :p3_current_a_workshop
order by 1';
ELSE
RETURN
'select distinct workshop_title ||': ' || presenter_name ||' $'|| workshop_fee display_value, workshop_id return_value
from WORKSHOP
where session_time = 'A'
and workshop_status = 'Open'
order by 1';
END IF;
EXCEPTION
WHEN OTHERS THEN
HTP.PRN('ERROR'||SQLERRM);
END;I am trying to model the above code off of the example given by apex:
A function that returns a SQL query with two columns:
IF :MY_ITEM='10' THEN
RETURN
'SELECT ename, empno
FROM emp
WHERE depno = 10
ORDER BY 1';
ELSE
RETURN
'SELECT ename, empno
FROM emp
WHERE depno = :my_item
ORDER BY 1';
END IF;~Andrew SchultzHi Andrew,
Try something like:
DECLARE
BEGIN
IF :p3_current_a_workshop != 0 THEN
RETURN
' select distinct workshop_title ||'': '' || presenter_name ||'' $''|| workshop_fee display_value, workshop_id return_value '||
' from WORKSHOP '||
' where session_time = ''A'' '||
' and workshop_status = ''Open'' '||
' or workshop_id = :p3_current_a_workshop '||
' order by 1 ';
ELSE
RETURN
' select distinct workshop_title ||'': '' || presenter_name ||'' $''|| workshop_fee display_value, workshop_id return_value '||
' from WORKSHOP '||
' where session_time = ''A'' '||
' and workshop_status = ''Open'' '||
' order by 1 ';
END IF;
EXCEPTION
WHEN OTHERS THEN
HTP.PRN('ERROR'||SQLERRM);
END;Regards,
Lev
Maybe you are looking for
-
I really, really need to convert a VOB video file to some other format so I can edit it. This is a studio produced televised interview which I want to chop into 304 minute segments and post on Youtube and my web site. I read the discussion (#1936489)
-
I am new to Blackberry so I apologize if these are easy fixes that I have missed. I am having two very annoying messaging problems on my phone. First, I have an icon that tells me I have two new messages at all times -- even when the inbox is complet
-
Downloading Adobe if I have the serial number of older product.
I purchased several Dell Latitude laptops, all loaded with Adobe Acrobat X Standard. At least one of the machines does not have the softward loaded, however, I have the DO NOT DISCARD card with the serial number of the Adobe product. Where do I go
-
Cluster Anomaly: WLS hogs CPU even when no clients
I was just running a test and just need some comments on the following: I have the following hardware config: Browser -> Machine1(M1) -> Machine2(M2) M1=Solaris M2=NT Workstation .M1 runs WL
-
Hp Pavilionn 2700t Graphics card
Hi all, I just bought a game for my laptop and aparently the graphics card doesn't support it. I am wondering if I am able to upgrade but I do not know if my laptop has an integrated graphics card. Can anyone help here? The product number is KQ654AV.