Form posting data to email
Hi,
I have been working on this code and have not been able to make it work. I don't know what is wrong, any input will be appreciated. I have also tried uploading the file on the server but still no email.
Thanks,
3 files below form file,coldfusion file, crossdomain file
cf1.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.events.*;
import flash.net.*;
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
private const FORM_URL:String = http://www.mysamplesite.com/formSend.cfc;
public function gotoEmail(e:Event):void {
var u:URLRequest = new URLRequest("mailto:" + urlLink.text);
navigateToURL(u,"_self");
public function handleResult(event:ResultEvent):void
Alert.show( "Thank You", "Alert!", Alert.OK );
resetForm();
public function handleFault(event:FaultEvent):void
your_comment.text = event.fault.toString();
private function resetForm():void
your_name.text = "";
your_email.text = "";
your_comment.text = "";
]]>
</mx:Script>
<mx:HTTPService id="commentForm"
url="{FORM_URL}"
method="POST"
result="handleResult(event)"
fault="handleFault(event)"
resultFormat="text">
<mx:request>
<name>{your_name.text}</name>
<email>{your_name.text}</email>
<date>{your_name.text} </date>
<address>{your_name.text}</address>
<city>{your_name.text}</city>
<birthday>{your_name.text}</birthday>
<fathername>{your_name.text}</fathername>
<mothername>{your_name.text}</mothername>
<message>{your_name.text}</message>
</mx:request>
</mx:HTTPService>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Form id="contactForm" visible="true">
<mx:FormHeading/>
<mx:FormItem label="Student Name">
<mx:TextInput id="your_name" width="310"/>
</mx:FormItem>
<mx:FormItem label="Your Email">
<mx:TextInput id="your_email" width="{your_name.width}"/>
</mx:FormItem>
<mx:FormItem label="Date:">
<mx:TextInput id="date" />
</mx:FormItem>
<mx:FormItem label="Students Address:">
<mx:TextInput id="address" />
</mx:FormItem>
<mx:FormItem label="City:">
<mx:TextInput id="city" />
</mx:FormItem>
<mx:FormItem label="Students Birthday:">
<mx:TextInput id="studentbirthday" />
</mx:FormItem>
<mx:FormItem label="Father’s (or Guardian’s) Name:">
<mx:TextInput id="fathername" />
</mx:FormItem>
<mx:FormItem label="Mother’s (or Guardian’s) Name:">
<mx:TextInput id="mothername" />
</mx:FormItem>
<mx:FormItem label="Home Phone:">
<mx:TextInput id="phone" />
</mx:FormItem>
<mx:FormItem label="Comment">
<mx:TextArea id="your_comment" width="{your_name.width}" height="125"/>
</mx:FormItem>
<mx:ControlBar width="100%">
<mx:Label id="urlLink" click="gotoEmail(event);" text="Email: [email protected]"/>
<mx:Spacer width="100%"/>
<mx:Button label="Submit" click="commentForm.send()"/>
</mx:ControlBar>
</mx:Form>
</mx:VBox>
</mx:Application>
Cold Fusion file
formSend.cfc
<!--- [email protected] --->
<cfmail to="[email protected]" from="#form.email#" subject="Inquiry from new customer" server="127.0.0.1">
You have received a message
Sender's name: #form.name#
Sender's email address: #form.email#
date:#form.date#
city:#form.city#
Birthday:#form.birthday#
Father's Name:#form.fathername#
Mothename :#form.mothername#
Message:#form.message#
</cfmail>
crossdomain.xml file
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
<allow-http-request-headers-from domain="www.mysamplesite.com"
headers="*">
Moved to the Dreamweaver Application Development forum, which deals with PHP and other server-side issues.
Similar Messages
-
Cannot read any form posted data
I create a web server :
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.ServerSocket;
import java.net.Socket;
public class TestWeb extends Thread {
Socket soc;
ServerSocket server;
InputStream is;
BufferedReader br;
public void run() {
try {
while (true) {
soc = server.accept();
if (soc!=null)
is = soc.getInputStream();
br = new BufferedReader(new InputStreamReader(is));
String line = "";
while (line!=null) {
line = br.readLine();
if (line==null) continue;
System.out.println(line);
} catch (Exception ex) {
System.out.println(ex.toString());
public TestWeb() {
try {
server = new ServerSocket(80);
} catch (Exception ex) {
System.out.println(ex.toString());
public static void main(String[] arg) {
try {
new TestWeb().start();
System.in.read();
} catch (Exception ex) {
System.out.println(ex.toString());
}It can read the header when someone connect to this server
However, it cannot read any form posted data.
Does anybody have any idea?
The following is the html source that i use in a browser to connect to the test server
<HTML><BODY>
<CENTER><H1><FONT COLOR=BLUE><B>Test</B></FONT></H1></CENTER>
<HR>
<FORM METHOD="POST" ACTION="http://127.0.0.1">
<INPUT TYPE=TEXT VALUE="abcde">
<SELECT>
<OPTION VALUE="1">1</OPTION>
<OPTION VALUE="2">2</OPTION>
</SELECT>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY></HTML>I would expect the form data posted to be received. For example, the user chooses the option value and the text input value.
This test is hang just after receiving the header information and no parameters collected. -
Xsql:delete-request key-columns has to be form posted data?
I am trying to link a hyperlink "delete" on a table to a page "jobs-list-delete.xsql?jobnumber={JOBNUMBER}". When I use:
<form method="post" action="jobs-list-delete.xsql?jobnumber={JOBNUMBER}">
<input type="submit" value="delete"/>
</form>
it worked fine. but I want to use "delete" as a hyperlink instead of a button, so I tried the following:
Delete
unfortunately, it didn't work with the above hyperlink.
I would like to know if xsql:delete-request key-columns value has to be form posted data instead of a query string in an URL from a hyperlink. Is there any way to work around this?
The code I used in jobs-list-delete.xsql is as follows:
<xsql:delete-request key-columns="jobnumber" table="jobs" transform="request-to-InsertJob.xsl"/>
Thanks...
Wenqi Dwyer<xsql:delete-request> works with a posted XML request or a POST'ed HTML form.
To delete things with a simple HTTP GET, you can use <xsql:dml> and a DELETE statement. -
Little help with FORM POST data not in UTF-8 (JSP/servlet)
Hello,
I am trying to update a MySQL database record with UTF-8 characters with my JSP application.
1) I have MySQL correctly configured to handle UTF8 and have tested insert/update/select with UTF8 characters
2) I have an "editRecord.jsp" page. At the top of the page, I specify:
<% request.setCharacterEncoding("UTF-8"); %>
3) I have an input form which is specified in that page which follows:
<form action="<c:url value="/updateRecord.jsp"/>"
name="updatetForm" method="post"
ACCEPT-CHARSET="UTF-8"
enctype="multipart/form-data">
4) I have a servlet filter that takes every HttpServletRequest and modifies that object in
doFilter(...){
request.setCharacterEncoding("UTF-8");
chain.doFilter(...)
5) In updateRecord.jsp, I fill a JavaBean with the form data. Here's an example of the form input:
name = Company
Comments=Here's some unicode text: "يني إن بلاده م
6) When I put a breakpoint and inspect the contents of the UpdateBean after posting the form, running the request through the filter, I see
I see:
name = Company
Comments=Here's some unicode text: „������...."
Where could I possibly be missing something to force UTF8 encoding of these values?If you have to use the following code to fix the encoding:
String value = new String(item.getString().getBytes("ISO-8859-1"), "UTF-8"); ...
then you are just putting a band aid on something that is broken somewhere else (since this code creates a byte array in 8859-1 and then creates a string from that byte array, but assuming that the array is encoded in UTF-8). That will only work if the string you start out with is mangled.
In many cases such a fix will actually "work" (in the sense that you may end up with something that is correctly encoded in the end), but you run the risk of breaking if the source of the original corruption is removed. -
Problem in POST data preserve in Policy Agent 2.2 for SJSWS 6.1
Hi
I am using Policy Agent 2.2 for SJSWS 6.1
I have a requirement to preserve the POST data when during the following situation.
Consider a situation where in the user has logged in to our webapp and the user remains in a page which has a form with Post method .
Mean while the session (of AM) times out and now the user enters the data in the data and submits the form.
The user will be redirected to the login page and then the requested service should be performed, which is not happening in this case(POST). Suppose in if the form used a GET method this works fine.
I have tried by configuring the following property in AMAgent.properties file.
com.sun.am.policy.agents.config.postdata.preserve.enable = true
But it doesn't work. When I tried to troubleshoot, I learned from the following resource that, POST data preservation is only supported on Policy Agent 2.2 for Sun Java System Web Server 7.0 Is it not supported on 6.1?
http://docs.sun.com/app/docs/doc/820-1130/gaueu
I get the following error in the log file of SJSWS.
trying to POST /dummypost/sunpostpreserve2007-09-2804:48:53.379, send-file reports: HTTP4142: can't find /opt/SUNWwbsvr/docs/dummypost/sunpostpreserve2007-09-2804:48:53.379 (File not found)
I have verified that the following entry is made in the obj.conf
PathCheck fn=validate_session_policy
<Object ppath="*/dummypost/sunpostpreserve*">
Service type=text/* method=(GET) fn=append_post_data
</Object>
<Object ppath="*/UpdateAgentCacheServlet*">
Service type=text/* method=(POST) fn=process_notification
</Object>
I am using the PA 2.2 which says that the following bug is fixed.
Bug(s) fixed in 2.2 RTM Hotpatch 8
==================================
Bug#: 6545159
Agent type: Sun Java System Web Server agent
Description: CDSSO mode wipes out form post data
Appreciate your help.
thanks & regards
MadhuHi
Now I get 404 error and the logs in amAgent is
2007-10-03 04:56:20.922 Error 22356:a51e558 PolicyAgent: Error Registering POST content body
2007-10-03 04:56:20.922MaxDebug 22356:a51e558 PolicyAgent: Register POST content body : (null)
2007-10-03 04:56:20.923 Debug 22356:a51e558 PolicyAgent: Register POST data key :2007-10-0304:56:20.922
2007-10-03 04:56:20.923 Error 22356:a51e558 PolicyAgent: am_web_postcache_insert(): Unknown exception encountered.
2007-10-03 04:56:20.923 Warning 22356:a51e558 PolicyAgent: Register POST data insert into hash table failed:2007-10-0304:56:20.922
And in the errors log file of SJSWS is+_
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="uri-clean" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="uri-clean" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-pathinfo" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-pathinfo" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-index-j2ee" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-index-j2ee" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck"
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="find-index" index-names="index.html,home.html,index.jsp" Directive="PathCheck" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:05] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="validate_session_policy" Directive="PathCheck"
[03/Oct/2007:05:13:05] fine (22515): Updating accelerator cache
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="validate_session_policy" Directive="PathCheck" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="type-j2ee" Directive="ObjectType"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="type-j2ee" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="type-by-extension" Directive="ObjectType"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="type-by-extension" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="force-type" type="text/plain" Directive="ObjectType"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="force-type" type="text/plain" Directive="ObjectType" returned 0 (REQ_PROCEED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service"
[03/Oct/2007:05:13:14] warning (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, send-file reports: HTTP4142: can't find /opt/WMS/rel/www/webserver7/https-localhost.localdomain/docs/dummypost/sunpostpreserve2007-10-0304:56:20.922 (File not found)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file" Directive="Service" returned -1 (REQ_ABORTED)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="error-j2ee" Directive="Error"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="error-j2ee" Directive="Error" returned -2 (REQ_NOACTION)
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: executing fn="flex-log" Directive="AddLog"
[03/Oct/2007:05:13:14] finest (22515): for host 27.63.254.1 trying to POST /dummypost/sunpostpreserve2007-10-0304:56:20.922, func_exec reports: fn="flex-log" Directive="AddLog" returned 0 (REQ_PROCEED)
thanks
Madhu -
ACE match http url with post data
I need to make a layer-7 load balancing decision at the ACE module based on a URL string that includes form POST data. It is important that the balancing decision include and parse the part of the URL after the question mark. This doesn't seem to work with the "match http url" config on the ACE. My interpretation is that the ACE does not consider the POST data to be part of the URL string, and therefore does not include it in the regular expression matching. Am I missing something here, or have I run into a limitation of the ACE module?
class-map type http loadbalance match-any L7__URL_MATCH_CLASS
2 match http url index.php\?field=content.*Hi
The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.
Its not possible to match ? in the url.
One option could be using secondary cookie matching in ACE.
class-map type http loadbalance match-any xyz
2 match http cookie secondary field cookie-value content
Thanks
Syed -
Send form data via email after posting to MySQL database
I have created a form in DreamweaverMX 2004 and then tied it to mySQL database so that on submit the data posts to the database.
This works fine. It also goes to a "success" page just fine. I then added in some php code to also email a few of the fields from the form to a specific email address. This functions correctly using this code below (the email does go - the "from" email address has my login for MySQL database) EXCEPT that the data from the fields does not come through. The field labels are there as indicated below and the email is formatted correctly, but the data doesn't come through.
mail( $to = "[email protected]", $subject = "Someone has submitted an application",
$content= "Essay 1: ".$Essay1."\r\n"
."Essay 2: ".$Essay2."\r\n"
."Essay 3: ".$Essay3."\r\n"
."Essay 4: ".$Essay4."\r\n"
."Essay 5: ".$Essay5."\r\n");
What am I doing wrong?
That's problem #1 - then problem #2 is that I actually also need to send the ID code in this email for the specific record which has been created in my database so the end recipient can associate the email with that specific ID later for other purposes. So even if I figure out problem #1, I'm not sure that I can use this code for problem #2 because the field isn't on the html form, but actually created by the database upon submission.
Any suggestions would be helpful!
ThanksMoved to the Dreamweaver Application Development forum, which deals with PHP and other server-side issues.
-
How to embedded oracle report data in email body from forms?
Hi,
I am working on oracle forms and report 10g and i am new to this. I want to knw How to embedded oracle report data in email body ?
Regards
ShrutiI have uploaded a sample . This might help
http://www.alexyscorp.com/send_report_email.zip -
Hello,
I have a problem in executing functions in my planning folders which contain hierarchy variables in the filter of the function.
Whenever I run a SAP standard function which has a hierarchy variable in the function filter, I get an error meesage. The function copies the values, and when it tries to post them to the buffer I get an error message and the planning workbook gets logged off from SAP.
The message:
u2022Programm Fehler in Klasse SAPMSSY1 Methode: UNCAUHGT_EXCEPTION
u2022Systemfehler in Programm CL_RSPLS_DELTA_BUFFER_B unf Form READ-06-.
It seems to me that there is an error in SAP which involves reading the hierarchy in my filter, this leads to the above mentioned error when the system tries to post the data to the buffer.
System info:
SAP NetWeaver BI 7.0
We have patch level 20.
Help regarding this problem would be appreciated.
Regards,
JulianHello Gregor,
thanks for your response. The error is in the planning workbook, the transfer button doesnt work, but Save does work.
The problem seems to be that I have a help query which runs before the plan query. The help query has a Hierarchy user exit variable which the user cannot input values, this reads certain master data. This is in the Static filter. In the dynamic filter is an input hierarchy variable (same characteristic as the exit variable). This receives the values from the user exit variable. The input hierarchy variable is also in the Plan Query where I have the buffer error message.
If I take the Hierarchy variables out of the help query and put them in the plan query, then it works, no error message.
Conclusion: it seems that the system has trouble posting data in the buffer if you have a hierarchy variable in the help query. (it works fine for non Hierarchy variables) We debugged it, and the SAP program does not recoginize -06- assigend element in the program.
Is there a SAP note to correct this? I found one that was very similar to my problem but it is old, for level 10. We are on patch level 20.
Thanks for your help,
Julian -
How can i transfer all my datas and email form old Mac G5 to new iMac ?
How can i transfer all my datas and email form old Mac G5 to new iMac ?
Generally Mugration Assistant will suffice importing all Data ito a new user, but you can manually import it...
Users/YourUserName/Library/Mail
Users/YourUserName/Library/Mail Downloads
(Could be a different folder here if you chose such in Mail Prefs) -
Actionable Task form with data as an email in Human task implementation.
Hi All,
In one scenario in my project, I need to design an actionable task form with data as an email, and this email can be sent to specific users to actions ( like updating, approval, rejection etc). The users should be able to edit the data in email only ( not needed to login in BPM work-list). Please let me know if it is possible to design such task forms and how to push and receive data in email from user.
Thanks,
rpsHi, Check this below links,
Send external email from within ABAP program.
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
Sending mail with attachment.
http://www.sap-img.com/abap/sending-email-with-attachment.htm
Regards,
Joan -
Webservice giving error "couldn't post data to " in adobe interactive form
Hi Gurus
My requirment in to place a submit button in adobe interactive form , when the user clicks on it the data in the form has to update the table. For this purpose i have configured webservice in my crm 2007 server. Now webservice is working and i m getting the response. but when i create a data connection in the adobe form and when i execute the webservice i getting " Couldn't post data to ". "
error . Plz help me out to resolve this issue
Thanks in advance
Regards
JohnyHi Jhonny,
Make the Submit button a regular one instead of execute and place the following code in the click event(JavaScript).
var cURL = "Provide the Soap Address url which is present in WSDL";
var service = SOAP.connect(cURL);
xfa.connectionSet.DataConnection.execute(0);
Regards,
Mathan -
Couldn't post data to ''. - Adobe interactive form problem
Hi
I am trying to do a test run with adobe interactive forms, I generated a WSDL from my webservice in SAP and then added the data connection fine. I added the execute event button onto my form and set a HTTP debug point in the function inside my webservice. When I try preview and I try click the execute button every time I receive the following error:
Couldn't post data to ''
What does this error mean? It never reaches my rfc as the debug is not triggered and the error seems to be coming from adobe lifecycle designer.Hello,
I am facing this issue too, were you able to resolve.
kindly help!
THanks,
Deepti -
Detect uncommitted yet posted data in my forms session?
In our application it is common practice to use the Forms POST built-in.
Since we have our own exit-function with the application-wide look and feel we would like to catch the alert-box asking whether to save any changes.
Is there a way to either adapt the alert-box to our own look and feel or an attribute that could be utilised in order to detect uncommitted data?
We would rather not want to omit the POST logic nor log any footstep of the user.
Any hint would be appreciated.Use parameters , set their values to 'false' for example before posting changes , and then check the status of all of the blocks in your form. Change the value of a particular parameter to true if the status of a certain block is CHANGED. To prevent from being confused name your parameters according to the block name.
And in your exit functionality test if one of the parameters is 'true' and you show your alert. -
How can I change Posting Date on Sales Invoice form in UI?
Hello,
I cannot change the Posting Date on the Sales Invoice form in UI.
The new date is earlier than the system date, but when I type it on the field on the form, it's not problem!
I've tried to use the following code in vb.NET:
SBO_Application.Forms.Item(pVal.FormUID).Items.Item("10").Specific.value = DocDueDate.ToString("yyyyMMdd")
But I've got an exception: <i>Form - Bad value</i>
Next step I tried this, but I've got a same message:
SBO_Application.Forms.Item(pVal.FormUID).Items.Item("10").Click(SAPbouiCOM.BoCellClickType.ct_Regular)
SBO_Application.SendKeys(DocDueDate.ToString("yyyy.MM.dd"))
Any idea?
THX,
CsabaHi Csaba!
please, make sure that you've handled Sales Invoice form - just show the message:
MessageBox.Show(pVal.FormUID)
edDate = SBO_Application.Forms.Item(pVal.FormUID).Items.Item("10").Specific
edDate.value = DocDueDate.ToString("yyyyMMdd")
This has to show you 133. If not then put the IF-statement to check what form you are handling before you try to get the item's handler
Maybe you are looking for
-
We were looking at migrating to Office 2007. To verify compatibility, several key users have loaded Office 2007 on their machines. There seems to be several problems related to opening files in Excel. If Excel is open and the user does a File/Open, f
-
where to find an app how to find my mac in case gets stolen or???
-
Handling multiple database with 10g CONSOLE
Hello list, How do we handle multiple databases with 10g Enterprise Console? We are running Oracle 10.1.0.2.0 on Windows 2003 server. I have one database setup but I need to install more databases and am having difficulty accessing and managing the s
-
While the rest of the updated Lion has installed flawlessly, the new gestures just do not seem to work, particularly going from the full screen Safari to the full screeen Mail apps. Is some additional step required?
-
Bluetooth Drivers for Windows 7 for 9300 &8520
I cannot find any drivers for Windows 7 and my Bluetooth application. Can anybody help please? This issues has been posted before. Come along Blackberry support teams, where are you. Its seems to be OK for Windows XP but not Windows 7!