Crash form using READ_IMAGE_FILE
forms 10g
i use this :
READ_IMAGE_FILE('D:\ftpweb\LocalUser\imedia\' || 'f_' || :B0.CODICE_CASA || '_1.jpg' , 'jpg', 'b3.foto1');
it is all ok if the image file is on the web server, but if the image is not present on the web server the form crash !!!
It is possibile to test if the file is present on the server so i can not execute the function ??
Than'k
Hi Kiran,
You can use below code for this, in when new block instance trigger:
DECLARE
jpg_image_dir VARCHAR2(80) := 'E:\sumanth_project\IPMC_PROJECT\';
image_name varchar2(80) := 'logo';
photo_filename VARCHAR2(80);
BEGIN
:System.Message_Level := '25';
photo_filename := jpg_image_dir||LOWER(image_name)||'.jpg';
** Now, read in the appropriate image.
Read_Image_File( photo_filename, 'JPG', 'b_image.image');
IF NOT Form_Success THEN
Message('The relevant image file does not exist.');
END IF;
:System.Message_Level := '0';
END; b_image.image is the data block item used to create your image. replace it with the data block item you've created in your form.
Hope it helps.
Please mark answer as helpful / correct, if it helps you
Navnit
Similar Messages
-
Using READ_IMAGE_FILE BUILT-IN IN Forms causes a loss in the resolution
Hi All
Oracle Developer suite 10g, database 11 gr2, windows Platform
I'm using READ_IMAGE_FILE BUILT-IN in forms builder to read an image and get a good background for the form, but the image displays in the form with a resolution that is less than the actual image resolution.
Please helpFrancois,
Sorry, because I don't have any background about java,
This is the java console output after saving a new record :
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\it maniger
Proxy Configuration: Browser Proxy Configuration
JAR cache enabled
Location: C:\Documents and Settings\it maniger\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
Loading http://itmanage:8889/forms/java/frmall_jinit.jar from JAR cache
Loading http://itmanage:8889/forms/java/myappicons.jar from JAR cache
Loading http://itmanage:8889/forms/java/frmwebutil.jar from JAR cache
Loading http://itmanage:8889/forms/java/jacob.jar from JAR cache
Loading http://itmanage:8889/forms/java/handleimage.jar from JAR cache
Loading http://itmanage:8889/forms/java/classes12.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
إصدار بريمج Forms هو : 10.1.2.0
Lecture.bLog=true
Lecture.bLog=true
InitConn=jdbc:oracle:thin:@zogotoun-jnq4h6:1521:XE
InitUser=tutoforms
InitPwd=tuto
Clear imge
Searching JAR for file:///f:\femtosoft\fmst\mainmenu.jpg
Unable to find file:///f:\femtosoft\fmst\mainmenu.jpg in JAR
Searching docbase for file:///f:\femtosoft\fmst\mainmenu.jpg
Constructed URL: file:/f:/femtosoft/fmst/mainmenu.jpg
Image found in DOCBASE: file:/f:/femtosoft/fmst/mainmenu.jpg
Start Ecriture()
Ecriture() : Connect to database
Ecriture() : error connecting to the database java.security.AccessControlException: access denied (java.net.SocketPermission zogotoun-jnq4h6 resolve)
Ecriture() : execute query=UPDATE PHOTOS set PHOTO_JAVA = ? where IDENTIFIANT=5
java.lang.NullPointerException
Mostafa -
Hi All,
I have proble when running the forms using IE:
Internetexplorer wants to close and reopen the tab.
and the Listener has status: test mode false
Please advice as soon as possible...
Thank u very much
TasneemTasneem wrote:
Hi All,
I have proble when running the forms using IE:
Internetexplorer wants to close and reopen the tab.
and the Listener has status: test mode false
Please advice as soon as possible...
Thank u very muchAs salamu alikum, Tasneem
Check this link ...Oracle Forms 10g Runtime Crashes Browser
hope this will help you -
Adobe Photoshop CS4/5 Crashes when using the Move Tool
Hello. I'm here because I'm having an issue with Photoshop.
I was trying out CS5 when it started to crash every time I tried to use the Move Tool. It was the generic error message: "Adobe Photoshop CS4 has stopped working.
A problem has caused Adobe Photoshop CS4 to stop working correctly. Windows will close the program and notify you if a solution is available."
Thinking that it was a CS5 issue, I went back to my copy of CS4, only to find the same thing happening there (I also downgraded because CS5 was also crashing at other random times for some reason, but that's an issue for another time).
This puzzles me because both were working fine before. Granted, I hadn't opened them for a while, but it was a sudden thing.
My first impulse was to uninstall and reinstall CS4. No luck. So then, I uninstalled all third-party plugins, thinking that might be it. Still, the same problem. I started looking around on Google for solutions and found the instructions on resetting the Tool preferences (I chose to reset the preferences for ALL of the tools). When that didn't work, I tried deleting the preferences file outright, which said instructions recommended. Nothing.
I should note that Photoshop crashes when using the Move Tool to move an object without ant lines around it, i.e., a layer. I'll move the object, and after two to three seconds, the mentioned error message will appear and Windows will close Photoshop. This, however, only seems to happen after selecting, copying, and pasting part of a large object with some variation of the Marqee Tool (thus making that part a new layer by default) while working at a zoom of 100%. So, in short, working with a large image like <a href=http://www.wallpaper4me.com/images/wallpapers/ergo_proxy_267_1280-862301.jpeg>This</a> at 100% zoom. The image linked is the image that I was using and am currently using to reproduce the problem. It is 1280x1024 pixels. I have tested this with somewhat smaller, yet comparable images too. Same problem. I have never had this problem working with large images before, and I wonder if anyone has any suggestions short of formatting my hard drive.
The error code, from Event Viewer:
Faulting application name: Photoshop.exe, version: 11.0.2.0, time stamp: 0x4bf2d4f6
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x65637275
Faulting process id: 0xe28
Faulting application start time: 0x01cb2bb3471d87bf
Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe
Faulting module path: unknown
Report Id: b412e368-97ab-11df-8f49-001d60b646ef
Details:
System
Provider
[ Name]
Application Error
EventID
1000
[ Qualifiers]
0
Level
2
Task
100
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2010-07-25T05:15:57.000000000Z
EventRecordID
78845
Channel
Application
Computer
Gatherum
Security
EventData
Photoshop.exe
11.0.2.0
4bf2d4f6
unknown
0.0.0.0
00000000
c0000005
65637275
e28
01cb2bb3471d87bf
C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe
unknown
b412e368-97ab-11df-8f49-001d60b646ef
Details in XML View:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-07-25T05:15:57.000000000Z" />
<EventRecordID>78845</EventRecordID>
<Channel>Application</Channel>
<Computer>Gatherum</Computer>
<Security />
</System>
- <EventData>
<Data>Photoshop.exe</Data>
<Data>11.0.2.0</Data>
<Data>4bf2d4f6</Data>
<Data>unknown</Data>
<Data>0.0.0.0</Data>
<Data>00000000</Data>
<Data>c0000005</Data>
<Data>65637275</Data>
<Data>e28</Data>
<Data>01cb2bb3471d87bf</Data>
<Data>C:\Program Files\Adobe\Adobe Photoshop CS4\Photoshop.exe</Data>
<Data>unknown</Data>
<Data>b412e368-97ab-11df-8f49-001d60b646ef</Data>
</EventData>
</Event>
System Specifications:
Operating System: Windows 7 Ultimate 32-bit (6.1, Build 7600)
System Manufacturer: HP-Pavilion
System Model: GN697AA-ABA a6214x
Processor: Intel Pentium Dual CPU E2160 @ 1.80 GHz (2 CPUs)
Memory: 2048MB RAM
DirectX Version: DirectX 11
Display Device:
Name: NVIDIA GeForce 8600 GTS
Manufacturer: NVIDIA
DAC Type: Integrated RAMDAC
Approx. Total Memory: 1010 MB
Current Display Mode: 1440 x 900 (32 bit) (60 Hz)
Photoshop Version: CS4 Extended 11.0.2Even a decent RAM upgrade is usually only a few hundred dollars nowadays, but it's not a trivially simple process. That said, with a little research and care you can do it. Alternatively, you can hire people (e.g., "Geek Squad") to do such an upgrade.
First, you'll need to know what your operating system capacity is. For example, a 32 bit Windows system can really only use up to a bit more than 3 GB of RAM, while a 64 bit Windows system can use all the RAM you can find a place to plug in. What version of Windows are you running?
Then you'll need to determine what RAM you have installed and what your computer's maximum RAM capacity is - usually you can do this through internet research, either by visiting your computer manufacturer's web site or doing google searches. There are even RAM manufacturer web sites that will tell you what kind of RAM your computer needs and suggest sources, for example:
http://www.kingston.com/
It may be that you can just plug additional chips into currently empty sockets, or it is possible you'll need to replace the RAM chips you have installed in your computer to make room for an upgrade. Every computer is different.
If you list your computer model and current RAM that you have installed here, it may be that someone can help with more specific advice.
-Noel -
How do you construct a web form using coldfusion??
How do you construct a web form using coldfusion?? any
examples?
thanks in adv.A sample Form:
<cfform action="CCARProc.cfm"
enctype="multipart/form-data" method="post" name="CCAR"
onsubmit="return verify()">
<table width="730" border="0" cellpadding="2"
cellspacing="1" align="center" class="unnamed1">
<!--DWLayoutTable-->
<tr valign="top">
<td colspan="3" bgcolor="#F2F2F2">Name Of
Requester(<font color="red">*</font>)</td>
<td width="402" bgcolor="#F2F2F2"><cfinput
type="text" name="Requestor_Name" size="15" value="#REQNAME#"
maxlength="25" >
MTABT Email(<font
color="red">*</font>)
<cfinput name="Req_Email" type="text" size="8"
maxlength="20" value="#ReqEmail#"
>@mtabt.org</td></tr>
<tr>
<td colspan="3">Requester Telephone #(<font
color="red">*</font>) </td>
<td><cfinput type="text" VALUE="#REQPHONE#"
name="RPhone" size="12" maxlength="12" message="Requester Phone
cannot be blank / Invalid Entry!" required="yes"
validate="telephone"> [e.g. xxx xxx xxxx or
xxx-xxx-xxxx]</td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Facility(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2">
<cfselect name="Facil">
<option value="2B">2B </option>
<option value="BBT">BBT </option>
<option value="BW">BW </option>
<option value="CB">CB </option>
<option value="HH">HH </option>
<option value="MP">MP </option>
<option value="QMT">QMT </option>
<option value="RI">RI </option>
<option value="TM">TM </option>
<option value="TB">TB </option>
<option value="TN">TN </option>
<option value="VN">VN </option>
</cfselect>
</td>
</tr>
<tr>
<td colspan="3">Department(<font
color="red">*</font>)</td>
<td><cfselect name="Dept">
<option value="Contracts">Contracts </option>
<option value="Engineering">Engineering
</option>
<option value="Executive Office">Executive
Office</option>
<option value="Finance">Finance </option>
<option value="General Counsel">General Counsel
</option>
<option value="HS">HS </option>
<option value="HR">HR </option>
<option value="ISD">ISD</option>
<option value="Legal">Legal </option>
<option value="Labor Relations">Labor Relations
</option>
<option value="Operations">Operations </option>
<option value="Payroll">Payroll </option>
<option value="Planning & Budget">Planning &
Budget </option>
<option value="Procurement & Mtrl">Procurement
& Mtrl </option>
<option value="Purchasing">Purchasing </option>
<option value="Revenue Management">Revenue Management
</option>
<option value="Staff Services">Staff Services
</option>
<option value="SD">SD</option>
<option value="Technology">Technology</option>
</cfselect></td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Division(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="Div"
type="text" size="20" maxlength="25" VALUE=""></td>
</tr>
<tr valign="top">
<td height="27" colspan="3" >Justification(<font
color="red">*</font>)</td>
<td bgcolor=""><textarea name="Justi" cols="50"
rows="3" wrap="VIRTUAL" ></textarea> </td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">VP Approval
By (<font color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="VPAppFName"
type="text" size="20" maxlength="25" VALUE="#VPFName#">
MTABT
Email(<font color="red">*</font>)
<cfinput name="VPE" type="text" size="8" maxlength="20"
value="#VPEmail#" >@mtabt.org</td>
</tr>
<tr>
<td colspan="3" valign="top"
bgcolor="#F2F2F2"></td>
<td colspan="2" rowspan="2" valign="top"
bgcolor="#F2F2F2"><div align="left">
<input name="Submit" type="submit" value="SubmitTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';" >
<input name="Reset" type="reset" value="ReSetTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';">
</div></td>
<td width="90" valign="top"
bgcolor="#F2F2F2"></td>
</tr>
</table>
<div align="right"><span class="style4">Revised(
01.28.05 )</span>
<input name="submitDate" type="hidden"
value="<cfoutput>#DateFormat(Now(),'mm/dd/yy')#</cfoutput>">
</div>
</cfform> -
Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Data;
using System.IO;
using System.Data.SqlClient;
using System.Windows.Forms;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace DRRS_CSharp
public partial class frmPDFTechnician : Form
public frmPDFTechnician()
InitializeComponent();
private void btnExport_Click(object sender, EventArgs e)
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
PdfPTable inner = new PdfPTable(1);
inner.WidthPercentage = 115;
PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
inner.AddCell(celt);
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(inner);
doc.Add(table);
doc.Close();
The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(table);
doc.Close();
So my question is how to make my column headers in bold?
So these are my questions.
1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?
I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
Any help or guidance in solving this problem would be greatly appreciated.
vishalHi,
>>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?<<
I’m sorry for the issue that you are hitting now.
This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
http://sourceforge.net/projects/itextsharp/
Thanks for your understanding.
Regards,
Marvin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
I have an Iphone 5 and I did the update to ios 8 and now my i books keeps crashing and using up all my battery. I have rebooted and shut down the phone and sync with itunes but still have problem Any help out there?
Hello paula.a.williams66,
It may help to force close all open applications, then reset your iPhone.
iOS: Understanding multitasking
http://support.apple.com/kb/HT4211
iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
http://support.apple.com/kb/HT1430
If iBooks continues to misbehave, the next step would be to restore the device.
iOS: Back up and restore your iOS device with iCloud or iTunes
http://support.apple.com/kb/HT1766
Cheers,
Allen -
How do I get multiple people to sign a PDF form using a Touchscreen PC?
I have created a PDF form, using Acrobat XI Pro, to record a client training session. The form is being completed using Adobe Reader (on a Panasonic Touchbook running Windows 7), so I have extended it to allow saving and signing. On the form I have a digital signature field for each trainee (next to a text field for their name) and a digital signature field for the trainer.
Creating a proper digital signature, signable using a password, is fine for the trainer, but the trainees will only be seen once. Often/usually they do not have email addresses so emailing for a signature, using EchoSign/DocuSign is out, but I have a touch-screen computer so should just be able to pass it round for a quick signature. Also, the form will be completed offline, with the trainer turning up on a site, not having access to the internet.
Clicking on the signature field does not provide a way to create the handwritten signature, and although the sign tab shows EchoSign in Adobe reader, allowing you to create such a signature this is shown as disabled (I imagine because I have extended the form).
This is the last piece to the puzzle. Any ideas?
Thank,
Len
p.s. I did see a version using a flash object on ADEP 10, http://forums.adobe.com/message/3998457#3998457 but this seems a little hacky, plus I would prefer to use acrobat Pro because it does everything else I want it to do.I have created a PDF form, using Acrobat XI Pro, to record a client training session. The form is being completed using Adobe Reader (on a Panasonic Touchbook running Windows 7), so I have extended it to allow saving and signing. On the form I have a digital signature field for each trainee (next to a text field for their name) and a digital signature field for the trainer.
Creating a proper digital signature, signable using a password, is fine for the trainer, but the trainees will only be seen once. Often/usually they do not have email addresses so emailing for a signature, using EchoSign/DocuSign is out, but I have a touch-screen computer so should just be able to pass it round for a quick signature. Also, the form will be completed offline, with the trainer turning up on a site, not having access to the internet.
Clicking on the signature field does not provide a way to create the handwritten signature, and although the sign tab shows EchoSign in Adobe reader, allowing you to create such a signature this is shown as disabled (I imagine because I have extended the form).
This is the last piece to the puzzle. Any ideas?
Thank,
Len
p.s. I did see a version using a flash object on ADEP 10, http://forums.adobe.com/message/3998457#3998457 but this seems a little hacky, plus I would prefer to use acrobat Pro because it does everything else I want it to do. -
Iv 10 Tables consisting of atleast 10 fields each in a single Database. Bt, Im only able to connect 1 table at a time to a form using an ADO Control. Im able to add data from table 'student' to text-boxes in my form. Bt, hw can I add data from field(0) of
Table 'Student' to Textbox1 and data from field(0) of Table 'Marks' to Textbox2 using VB6??
This is the current sample coding iv got to connect a single table to a form:
Global con As New ADODB.Connection
Global rs As New ADODB.Recordset
Public Function Connect()
If con.State = 1 Then con.Close
con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\bca.mdb;Persist Security Info=False"
End Function
Private Sub Add_Click()
If rs.State = 1 Then rs.Close
rs.Open "select * from student", con, adOpenDynamic, adLockOptimistic
rs.AddNew
rs.Fields(0) = (Text1.Text)
rs.Fields(1) = (Text2.Text)
rs.Fields(2) = (Text13.Text)
rs.Fields(3) = (Text4.Text)
rs.Fields(4) = (Text5.Text)
rs.Fields(5) = (Text6.Text)
rs.Fields(6) = (Text7.Text)
rs.Fields(7) = (Text8.Text)
rs.Fields(8) = (Text9.Text)
rs.Fields(9) = (Text10.Text)
rs.Fields(10) = (Text11.Text)
rs.Update
MsgBox " Record Added"
End Sub
What can I do to add fields from 2 different tables to different text boxes within the same form using a single ado control using vb6 and MS Access 2007??Hi,
Since VB6 product is not supported in this forum, you may go to these forums for support:
#Where to post your VB 6 questions
http://social.msdn.microsoft.com/Forums/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions
Thank you for your understanding.
Best regards,
Franklin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How can recipients submit completed PDF forms using a MAC?
We have created fillable PDF forms using LiveCycle Designer 8.0. They include
submit buttons that are set to submit the completed forms as PDFs. Rights have been extended for Adobe Reader users. They work great when the recipient is using a PC, but when they are using a MAC we have a number of problems:
1) the Print and Submit buttons do not work
2) when the recipient saves and e-mails the file manually, the data they entered is only visible when you click on that field
Help! How can our MAC recipients submit their completed form as a PDF that displays all of the data!
Thanks!Thanks Niall. This information proved really helpful in confirming the problem. We ran some tests and the problem does seem to only occur when MAC recipients are using Preview.
We recieved this link from Adobe, which provides a solution if you have access to all the recipients:
http://blogs.adobe.com/pdfdevjunkie/script_to_fix_mac_osx_previewa.html
Thanks to Niall and Paul for all your help! -
Is there a way to Update and SaveAs, an XFA form using VBA or similar ?
All:
Need help to auto-fill and auto-save PDFs using VBA or some other means.
I have created an XFA form using LiveCycle ES ( v8 ) with a few fields.
What I need to do is repeat these steps below for 200+ PDF forms
Open the blank PDF form
Update 3 fields
Save the PDF with a new name
My Excel VBA code so far ( ** Copied from another post ) where dFile = "C:\temp.pdf" and dAccount = "Any Account"
Sub rxOpenPDF_UpdateFields(dFile, dAccount )
Dim pdfApp As Acrobat.AcroApp, pdfPDDoc As Acrobat.AcroPDDoc, jso As Object
Dim str1$, bolOpen As Boolean, strFile$
Set pdfApp = CreateObject("AcroExch.App")
Set pdfPDDoc = CreateObject("AcroExch.PDDoc")
bolOpen = pdfPDDoc.Open(dFile)
Set jso = pdfPDDoc.GetJSObject
str1 = jso.getfield("Account_Name").Value ' Will appreciate if there is a way to set a field value
pdfApp.Exit
Set pdfApp = Nothing
Set pdfPDDoc = nothing
Set jso = Nothing
End Sub
Excel VBA is shutting down ( cannot recover ) when it runs the pdfPDDoc.Open statement
Any help will be very appreciated
Aubrey
I am on Windows XP,
In VBA, I have created Tool References to [Adobe Acrobat 9.0 Type Library]
Downloaded the Acrobat v9 SDK but am lost trying to locate any help for simple VBA.lrosenth,
Would I be able to Update & SaveAs with a newer version of LiveCycle ( does Adobe still have a LiveCycle line ) ?
I was looking at InDesign but am not sure if it has the functionality that I need ( i.e. create multiple forms from an Excel list)
.. also am unsure of the learning curve.
Aubrey -
How to Print form using SAP Smart Forms which is migrated from SAP Script?
Hello every one,
i have a problem in printing form using smart form which is migrate from the SAP Script...so what method i have to use...if any one know the solution for this than plz reply me as soon as possible...hi
when ever u want to migrate the script to smartform u have to chage the driver program also..
refere this link to convert script to smartform
convert sapscript to smartform
c_formname = u r smartform name...
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
...........................CALL SMARTFORM............................
CALL FUNCTION v_fm_name
EXPORTING
control_parameters = st_control_parameters
output_options = st_output_options
IMPORTING
document_output_info = st_document_output_info
job_output_info = st_job_output_info
job_output_options = st_job_output_options
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif. -
How can I read a form using session in javaServerlet?(thanks)
How can I read a form using session in javaServerlet?(thanks)
you can not. You get the form entries through the request object.
-
I am trying to add a new workflow to a document library with the below mentioned settings and getting error saying "This form cannot be opened in a web browser. to open this form use microsoft infopath" while adding a new Approval - Sharepoint
2010 and Publishing Approval workflow" . For your information the I have checked the server default option to open in browser.
Versioning Settings.
Error
This is quiet urgent issue . Any help would be really helpful.. Thanks..Hi Marlene,
Thank you very much for your suggestions.
But I am not creating a custom workflow in designer as Laura has mentioned. I am instead trying to create a new Out of the box Approval Workflow and I get the error mentioned above.
As it works in other environment, I tried figuring out the possible differences which can lead to this error.
Today I found one difference which is there are no form Templates within Infopath Configurations in Central Admin. Now I am trying to figure out what makes this form templates to be added to the template gallery.
Regards,
Vineeth -
Render error while running interactive forms using ABAP
Hi all,
I am trying to create an adobe form using ABAP through SFP T-code. While I am trying to execute it, it is generating a Render Error. The error message is as follows:
Exception SYSTEM_ERROR
Message ID: FPRUNX Message number: 001
Message:
ADS: The render error log file has been written to D:\u(200101)
But in the file, it is showing 'NO ERROR REPORT FOUND'.
I have also tested by FP_PDF_TEST_00 program if the connection with the server is fine. It is showing it is fine. I have tested with JAVA code as well. It is also showing that connection is fine.
I could'nt get the reason for the error. It would be great if anyone can help me in this issue.
Thanks in advance.
gopalDear Gopal,
please use the search function. This question has been answered many times here in the forum.
Best regards,
Dezso
Maybe you are looking for
-
Is there a history brush in Camera Raw ? I am using CS6 In photoshop there is a history brush...but don't see one in Camera Raw. How do I go back? Thanks, Penni
-
About interface and Inheritance
First I start a project called Person which contain a person's name, SIN number and year of birth import java.io.*; public class Person implements Create{ String name, sin; int year; public void Person(String inName, String inSin, int inYear){ name =
-
JDBC can't find....
Dear all, Before i uninstalled my JDK.1.2.2, and i used to run my APPLET that using JDBC to access ACCESS DB, everything is fine and my APPLET worked properly. But yesterday, i try to install JDK.1.4.0, i uninstalled my last JDK first, the JDK is suc
-
Image pixelates when mapped onto 3D object
I have created a bottle by revolveing an object in Illustrator. I created a custom sybol and that is not pixelated at all. The symbol is made of text and an image. To the left is the symbol before it is mapped. As you can see the leaf is not pixela
-
SOS! I can't open any youtube videos! Urgently need help
I have a Mac Pro and suddenly, I wasn't able to open any youtube videos, I get a black screen with no audio. I tried clearing both browsers cache and flash player but still didn't work. I even tried it with both browsers Chrome and Safari. Help pleas