Validation of a form field value against existing values in database tables - urgent.
Hi,
I have created a "form based on a table". Is there a way of validating the fields entered by checking that they are valid values existing on another table in the database? So if they are not valid values, the data would not be inserted and an error would be flagged to the user.
I have not yet been able to find any questions on this forum which deal with this exactly.
Thanks,
Steve.
On Insert button try following (change to your requirement),
declare
usr_id varchar2(100) := portal30.wwctx_api.get_user;
usr_name varchar2(100);
my_deptno number(10);
begin
my_deptno := p_session.get_value_as_NUMBER(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_DEPTNO');
usr_name := null;
begin
select ename
into usr_name
from emp
where dept=my_deptno;
exception
when others then null;
end;
if usr_name is null
then
htp.p('<script> alert("Dept wrong"); </script>');
else
doInsert;
end if;
end;
Similar Messages
-
Actionscript & changing form field values
I am building a form using flash forms. I have a particular
field that by default the value is 0.00. I want to make an onchange
actionscript that will dynamically change the form field value to
0.00 if the end user deletes the value out of the field and leaves
it blank.
Please be gentle...I know my actionscript'ing is poor (and
probably looks a wee bit more like JS than AS) LOL
<cfsavecontent variable="zero_myfield>
if (myfield.text == '') {
myform.myfield.text == "0.00";
</cfsavecontent>
<cfinput type="text" name="myfield"
onchange="zero_myfield">
I know you can manipulate the value of a form field easily
with javascript, but how to do the same thing with actionscript?
Any pointers would be appreciated!
Thanks!!ROFL, I figured as much...like I said, my AS is *very*
rudimentary right now heheh
I picked up an AS book yesterday evening to hopefully help me
out some, I know not all AS is available to use in ColdFusion flash
forms, but it will give me a good reference I hope.
I'll try my hand at the listener and see what I can come up
with. Thanks for the pointer!! :) -
I have the PDF form with several fields. I want to set the value of one field depending on selection made by the user in other field. I am trying to use if statement but it does not work for me. I have copied below the script I am trying to use.
form1.#pageSet[0].Page1.Table.Table3[0].Row1.Cell1::change - (JavaScript, client)
if (oField.rawValue == "Service Alert")
this.resolveNode("Cell4").rawValue = "A";
else if (oField.rawValue == "Service Bulletin")
this.resolveNode("Cell4").rawValue = "B";
When user selects Service Alert in Cell1 I want the value of Cell4 to be set to A and if Service Bulletin is selected I want the value of Cell4 to be set to B.
Can someone help me with the script. I have done a bit of searching and tested verious syntax but nothing did work. I hope someone will help me to have it working.
Regards,
TonyThank you very much for your help, but it did not work for me. I have decided to reply and to send you the form. Could you please have a look on what I have done and try to fix it. I want to add action to Cell1 to modify Cell4 in row 1 of the form, top on the blue background.
Regards,
Tony Pluta
Engineering Technical Coordinator / Graphics Designer, Engineering
Rail
Description: C:\Users\tony.pluta\AppData\Roaming\Microsoft\Signatures\UGLLimited.gif
16 Broadmeadow Rd | Broadmeadow NSW 2292 | Australia
Direct: +61 2 9492 1277 | Mobile: +61 403 399 167
Fax: +61 2 9462 1383
Email: [email protected]
Web: www.ugllimited.com<http://www.ugllimited.com/>
Please consider our environment footprint before printing this e-mail
From: kvdvijaykumar [email protected]
Sent: Wednesday, 29 May 2013 4:14 PM
To: Tony Pluta
Subject: modify form field value
Re: modify form field value
created by kvdvijaykumar<http://forums.adobe.com/people/kvdvijaykumar> in LiveCycle Designer - View the full discussion<http://forums.adobe.com/message/5360639#5360639 -
Forms personalyzation, passing Form field values to SRS concurrent request.
Hi,
Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transactions screen, The invoice number should be defaulted in the report parameter).
Regards,,
Anil.Hi,
You can use FND_REQUEST.SUBMIT_REQUEST to submit a concurrent progrm with parameters given.
For example, get the invoice number into v_invoice_no and call a function included code bellow.
FND_REQUEST.SUBMIT_REQUEST(
<app_short_name>,
<concurrent_short_name>,
to_char(SYSDATE,'DD-MON-YYYY HH24:MI'),
FALSE,
v_invoice_no,chr(0),'','','','','','','','',
'','','','','','','','','','');-- 100 ARGUMENTS FROM THE BEGINNING
Where chr(0) must be the last argument. -
How to pass the FORM Fields value by Form Personalization
Hi ALL,
I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
can any one suggest what to do???
i tried with these syntax
TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
Regards
RaviHi,
Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
Regards,,
Anil. -
Referencing form field values in javascript
I am attempting to call a report from a button on a form in Portal. I have been successful in calling a report from a OnClick JavaScript event handler, but I also need to send a parameter to the report based on the value in a field on the form.
I have been unable to find any information on how to do this. Does someone know how to do this? Thanks.
Bruce Cable
Kids123.comPerhaps this technote below may be of help:
Addressing field values in forms
For forms all of the form field values are kept in the "session storage", which is an internal
data structure object
and has some methods to access the data
to access them you must have following information:
1. Block name
- DEFAULT for forms on tables
- MASTER_BLOCK for the master section of MD form
- DETAIL_BLOCK for the detail section of MD form
2. Attribute name (is the column name plus 'A_' prefix)
3. Column datatype (NUMBER, VARCHAR2, DATE)
Example:
declare
my_empno number;
begin
my_empno := p_session.get_value_as_NUMBER(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_EMPNO');
end;
In case of MD form, there are 2 blocks - MASTER_BLOCK for master section of the form
and DETAIL_BLOCK for the detail section. Since there is more that 1 record in detail section
you must specify a row index for the detail row
Example:
declare
my_empno number;
begin
my_empno := p_session.get_value_as_NUMBER(
p_block_name => 'DETAIL_BLOCK',
p_attribute_name => 'A_EMPNO'
p_index => 5);
end;
Writing custom buttons code
Every event handler has p_session argument, for any event handler it is a reference to the
session storage object, by calling
appropriate methods you can get and set values of the fields in the form.
Attribute names are create by adding 'A_' to your table's column names, so DEPTNO becomes
A_DEPTNO
Note, if you add a button to detail section of the form for each detail row then you'll have to
examine p_instance value which will be set to a number indicating for which row button has been
pressed. (1 for the first detail record, 2, 3, etc.)
Example:
bold - generated part
italic - custom code
procedure WWV_DETAIL_GENSYS_99
p_block_name in varchar2,
p_object_name in varchar2,
p_instance in integer,
p_event_type in varchar2,
p_user_args in varchar2,
p_session in out DNONKIN.wwa_api_module_session
is
begin
declare
my_action varchar2(4000);
var1 integer;
var2 varchar2(4000);
begin
my_action := p_session.get_value_as_varchar2(
p_block_name => p_block_name,
p_attribute_name => '_DETAIL_ACTION',
p_index => p_instance
if my_action = 'DELETE' then
var1:=p_session.get_value_as_NUMBER(
p_block_name => p_block_name,
p_attribute_name => 'A_EMPNO',
p_index => p_instance
var2:=p_session.get_value_as_VARCHAR2(
p_block_name => p_block_name,
p_attribute_name => 'A_ENAME',
p_index => p_instance
--- Add a record to my log table
insert into my_log values (var1,var2);
end if;
exception when others then
my_error_handler_if_any;
raise;
end;
end WWV_DETAIL_GENSYS_99;
null -
Hi,
How to access a Form Field value [Inventory Transfer] in a query:
Tried all these combination:
$[http://940.18.1], $[http://$940.18.1], $[OWTR.Filler]
What is the right format to access the field value & Is there a way to check [debug] what the values are ?
Am using: SAP B1 2005B SP:00 PL:34
Regards.First, Enable System information from the View Menu. This will enable you to see the table name and the field name when you click on the field.
Once you get this info, you can access it by $[[TableName.FieldName]]
Remote the http:// that you see above
$ [ ] are all required.
Suda -
Please Help, I want to change field value in a table, based on another field value in the same row (for each added row)
I am using this code :
<HTML>
<HEAD>
<SCRIPT>
function addRow(tableID) {
var table = document.getElementById(tableID);
var rowCount = table.rows.length;
var row = table.insertRow(rowCount);
var colCount = table.rows[0].cells.length;
for(var i=0; i<colCount; i++ ) {
var newcell = row.insertCell(i);
newcell.innerHTML = table.rows[1].cells[i].innerHTML;
switch(newcell.childNodes[0].type) {
case "text":
newcell.childNodes[0].value = "";
break;
case "checkbox":
newcell.childNodes[0].checked = false;
break;
case "select-one":
newcell.childNodes[0].selectedIndex = 0;
break;}}}
function deleteRow(tableID) {
try {var table = document.getElementById(tableID);
var rowCount = table.rows.length;
for(var i=0; i<rowCount; i++) {
var row = table.rows[i];
var chkbox = row.cells[0].childNodes[0];
if(null != chkbox && true == chkbox.checked) {
if(rowCount <= 2) {
alert("Cannot delete all the rows.");
break;}
table.deleteRow(i);
rowCount--;
i--;}}}catch(e) {alert(e);}}
</SCRIPT>
</HEAD>
<BODY>
<INPUT type="button" value="Add Row" onClick="addRow('dataTable')" />
<INPUT type="button" value="Delete Row" onClick="deleteRow('dataTable')" />
<TABLE id="dataTable" width="350px" border="1">
<TR>
<TD width="32"></TD>
<TD width="119" align="center"><strong>Activity</strong></TD>
<TD width="177" align="center"><strong>Cost</strong></TD>
</TR>
<TR>
<TD><INPUT type="checkbox" name="chk"/></TD>
<TD>
<select name="s1" id="s1">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</TD>
<TD><input type="text" name="txt1" id="txt1"></TD>
</TR>
</TABLE>
</BODY>
</HTML>Hi,
Let me make sure u r working with table control.
First u have to create a event(VALIDATE) to do the validation.
Inside the event,
1. First get the current index where user has pointed the curson
2. Once u get the index read the internal table with index value.
3. Now u can compare the col1 and col2 values and populate the error message.
1. DATA : lo_elt TYPE REF TO if_wd_context_element,
l_index type i.
lo_elt = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
CALL METHOD LO_ELT->GET_INDEX( RECEIVING MY_INDEX = l_index.
above code should be written inside the event.
Thanks, -
How to get the object class field value in CDHDR table for vendor
hi
how to get the object class field value in CDHDR table for vendorTry KRED/KRED_N as object class in CDHDR for Vendor.
-
How to get string value from database table using Visual Studio 2005?
Hi,
Im developing plugin in illustrator cs3 using visual studio 2005. I need to get the values eneterd in database. Im able to get the integer values. But while getting string values it is returning empty value.
Im using the below code to get the values from database table
bool Table::Get(char* FieldName,int& FieldValue)
try
_variant_t vtValue;
vtValue = m_Rec->Fields->GetItem(FieldName)->GetValue();
FieldValue=vtValue.intVal;
CATCHERRGET
sprintf(m_ErrStr,"Success");
return 1;
Im using the below code to get the values.
AIErr getProjects()
char buf[5000];
int i;
std::string catName;
::CoInitialize(NULL);
Database db;
Table tbl;
errno_t err;
err = fopen(&file,"c:\\DBResult.txt","w");
fprintf(file, "Before Connection Established\n");
//MessageBox(NULL,CnnStr,"Connection String",0);
if(!db.Open(g->username,g->password,CnnStr))
db.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
fprintf(file, "After Connection Established\n");
if(!db.Execute("select ProjectID,ProjectName from projectsample",tbl))
db.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
int ProjectID;
int UserID;
int ProjectTitle;
char ProjectName[ProjectNameSize];
if(!tbl.ISEOF())
tbl.MoveFirst();
ProjectArrCnt=0;
for(i=0;i<128;i++)
buf[i]='\0';
int j=0;
while(!tbl.ISEOF())
if(tbl.Get("ProjectID",ProjectID))
fprintf(file,"Project ID: %d ",ProjectID);
ProjectInfo[ProjectArrCnt].ProjectID = ProjectID;
sprintf(buf,"%d",ProjectID);
//MessageBox(NULL, buf,"f ID", 0);
j++;
else
tbl.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
break;
//if(tbl.Get("ProjectTitle",ProjectName))
if(tbl.Get("ProjectName",ProjectName))
MessageBox(NULL,"Inside","",0);
fprintf(file,"ProjectTitle: %s\n",ProjectName);
//catName=CategoryName;
ProjectInfo[ProjectArrCnt].ProjectName=ProjectName;
//sprintf(buf,"%s",ProjectName);
MessageBox(NULL,(LPCSTR)ProjectName,"",0);
else
tbl.GetErrorErrStr(ErrStr);
fprintf(file,"Error: %s\n",ErrStr);
break;
ProjectArrCnt++;
//MessageBox(NULL, "While", "WIN API Test",0);
tbl.MoveNext();
//MessageBox(NULL, ProjectInfo[i].ProjectName.c_str(),"f Name", 0);
::CoUninitialize();
//sprintf(buf,"%s",file);
//MessageBox(NULL,buf,"File",0);
fprintf(file, "Connection closed\n");
fclose(file);
for(i=0;i<ProjectArrCnt;i++)
sprintf(buf,"%i",ProjectInfo[i].ProjectID);
//MessageBox(NULL,buf,"Proj ID",0);
//MessageBox(NULL,ProjectInfo[i].ProjectName.c_str(),"Project Name",0);
return 0;
In the above code im geeting project D which is an integer value. But not able to get the project name.
Please some one guide me.As I said in the other thread, this really isn't the place to ask questions about a database API unrelated to the Illustrator SDK. You're far more like to find people familliar with your problem on a forum that is dedicated to answering those kinds of questions instead.
-
How to revise form field value in query and skip validation
Hi all,
I have a 10g form that has a field which I want to manipulate during query. I want to display a different value depending upon its orignal value. I did this with a Post-Query trigger on the field's datablock. However, now, when I attempt a new query, the form thinks I've changed the field (which I did). I want to change the field but trick Forms into thinking there were no updates. How do I do this? Note: the field is a list item that has a style of combo box.
Thanks, MikeAmmad,
The reason is that sometimes the list returns the record group's key value (the second column) instead of the intended value (in the first column). This is because the record group is based on a SQL query. There are some values which are no longer in the table queried by the record group, thus the key value is displayed. I would rather nothing be displayed. As of now, I display a message indicating that there is a problem with the LOV.
I know about using a non-database form field. But I don't have any room left and I don't want to lay the non-database field on top of the database field and then have to enable/disable the two fields.
A friend at work suggested setting update_permission to trick Forms. Tried it but not successful yet.
Thanks, Mike -
How can I add form field value to the file name in save as dialog box
I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
A little background on the forms I want to use: My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example. I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server. We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box. The main office employees will decide into which server file the pdf should be saved.
I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
One little note: We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
Me and a lot of trees in this will really apprecitate any help you can give with this! :-)You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
app.beginPriv();
var myTrustedRetn = app.browseForDoc( oArgs );
app.endPriv();
return myTrustedRetn;
myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
app.beginPriv();
var myTrustedRetn = doc.saveAs( oArgs );
app.endPriv();
return myTrustedRetn;
The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
var fileName = this.getField("Roller Coaster").valueAsString;
try {
var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
try {
myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
catch(e) {
console.println("Save not allowed, perhaps readonly.");
catch(e) {
console.println("User cancelled Save As dialog box");
Good Luck! -
How to update session state from form field values without submitting page?
Hi,
I am new to Oracle APEX. I am using Oracle Apex 4.2 on Oracle 11g release 2. The problem is that when I am entering data on a form, when I enter a value in one field and move to the next field, how can I use the value of first field in the validation procedure of next field? I know that when we enter data in fields, the session state is not updated with these values until we submit the page... right... but I have seen that if there is a control of List box type, then Apex gives an option "Action When List changes" where we can choose option to update corresponding session state field with the value of list box item, without submitting the page.
Now my questions is why this option is only available for List box items? why not for other item types like Text box, Check box,... ? can someone please help me with this?
(the issue with update of session state depending on page submitting, is that we need a complete network round trip from client to server in order for it. However if we can update session state variables without submitting page, then we can avoid this network traffic).
Any help will be greatly appreciated. Thanks in advance.Create a dynamic action on change and run a PL/SQL process there with the following code:
BEGIN
NULL;
END;Page items to submit > your item.
This will set the session state without submitting the form.
Further examples here:
http://apex.oracle.com/pls/apex/f?p=31517:229
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
I successfully created a form filled pdf using an existing pdf document. However, the font size is too large to allow end user to type in information in the form box. Is there a way to 1)globally set all of the form fields when generated to a much smaller font size &/or 2) allow end user to change the font size if needed to put all information in one box without font being so large?
Hi DenisonDoc,
There is no option right now to set properties globally primarily for Text fields. You may make sure fields doesn't contain anything.
Select all the text filed from the form and right click any of the selected field make sure all of them are selected choose properties --> Appearance there you can choose Font Size and Font type.
- End users cant change size and type of font. It is up to designer.
Regards,
Ajlan Huda. -
How to Supply the form field values to a pdf form when loading it
I am working on a web site project using Asp.net where the user has to fill in a PDF eform in acrobat reader. Then when he clicks on submit it returns to my asp.net app and the PDF form supplies the values back to my asp.net app. So my asp.net app has the values that were filled in the PDF form and can save those values and work with them...
OK.
What I need to know is when I am in my asp.net app, and the user wants to go back and reopen the same form, from my asp.net app..... then how do I pass back the values that were saved back to the PDF form??
I know if I had a way to pass the values to the PDF form in some way then in the Doc.open or doc.load event of the form I could easily write a little javascript to plug in the values in the PDF form fields.
but how do I pass those values from my asp.net app to my PDF form???
thanksThanks bcweed for all the info. I fixed my problem, it had something to do with LiveCycle Designer. If I just use Acrobat to add the form fields, then the FDF works fine. As to your situation with the SavToBuf, that happens to be the method that I am using, so I will just post my code here, and maybe you can pick out what is different from yours. The Response.BinaryWrite(FDFin.FDFSaveToBuf)is at the bottom.
Sql = "SELECT * FROM Invoices" & WHERE
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open Db_Conn_Str
Set Rs = Server.CreateObject("ADODB.Recordset")
Rs.Open Sql, Conn, adOpenStatic, adLockReadOnly, adCmdText
If Not Rs.EOF Then
End If
Set FdfAcX = Server.CreateObject("FdfApp.FdfApp")
Set outputFDF = FdfAcX.FDFCreate
'VendorID = VendorName = VendorNum = InvoiceDate = PreparedBy = ""
Gross = 0
For I=0 To Rs.RecordCount-1
If InStr(VendorID,Rs.Fields("VendorID")) = 0 Then
VendorID = VendorID & Rs.Fields("VendorID") & ", "
End If
If InStr(VendorName,Rs.Fields("VendorName")) = 0 Then
VendorName = VendorName & Rs.Fields("VendorName") & ", "
End If
If InStr(InvoiceNum,Rs.Fields("InvoiceNumber")) = 0 Then
InvoiceNum = InvoiceNum & Rs.Fields("InvoiceNumber") & ", "
End If
If InStr(InvoiceDate,Rs.Fields("InvoiceDate")) = 0 Then
InvoiceDate = InvoiceDate & Rs.Fields("InvoiceDate") & ", "
End If
If InStr(PreparedBy,Rs.Fields("PreparedBy")) = 0 Then
PreparedBy = PreparedBy & Rs.Fields("PreparedBy") & ", "
End If
Rs.MoveNext
Next
Rs.MoveFirst
outputFDF.FDFSetValue "VendorID",VendorID,False
outputFDF.FDFSetValue "VendorName",VendorName,False
outputFDF.FDFSetValue "InvoiceNum",InvoiceNum,False
outputFDF.FDFSetValue "InvoiceDate",InvoiceDate,False
outputFDF.FDFSetValue "PreparedBy",PreparedBy,False
For I=0 To Rs.RecordCount-1
outputFDF.FDFSetValue ("Line."&I), Rs.Fields("Amount")&"", False
outputFDF.FDFSetValue ("Company."&I), Rs.Fields("Company")&"", False
outputFDF.FDFSetValue ("GL."&I), Rs.Fields("GL")&"", False
outputFDF.FDFSetValue ("CC."&I), Rs.Fields("CostCenter")&"", False
outputFDF.FDFSetValue ("DocNum."&I), Rs.Fields("DocNumber")&"", False
Gross = CCur(Gross) + CCur(Rs.Fields("Amount"))
Rs.MoveNext
Next
outputFDF.FDFSetValue "Gross", Gross, False
Rs.Close
Set Rs = Nothing
Sql = "UPDATE Invoices SET DatePrinted = '" & Now() & "'" & WHERE
Conn.Execute Sql
Conn.Close
Set Conn = Nothing
outputFDF.FDFSetValue "PrintDate", Date(), False
outputFDF.FDFSetFile "http://admin/invoices/pdf/InvoiceAuthorization.pdf"
Response.ContentType = "application/vnd.fdf"
Response.BinaryWrite outputFDF.FDFSaveToBuf
outputFDF.FDFClose
%>
Maybe you are looking for
-
How do I remove an empty gmail folder from my iPad2?
How do I remove an empty gmail folder from my iPad2?
-
How to find out the textframe contains "stroke color" (or) "fillcolor"?
How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Kindly advise me with sample.
-
Dot source/calling a function with switch from the cmd line
Hi This is driving me crazy and I know its something really obvious. If I have an example script like so, called myexample.ps1 [CmdletBinding()] param [Parameter(Mandatory=$false, HelpMessage="My Switch")] [switch] $Myswitch, [Parameter(Mandatory=$fa
-
hey all. I got my macbook pro a few weeks ago, i've noticed the whine. I've also noticed it gets incredibly hot, so hot i can't touch the area above the F keys. So this lead me to do a hardware test, low and behold i have the hardware error. Should i
-
Two dimensions, one fact
Hello guys, The last few hours I've been trying to solve the following issue: I've got a small dataset which contains three different tables, two dimension tables and one fact table. The first dimension table is a calendar table (for now I will call