Call a Function From a Backing Bean
Hello,
I am trying to call a PL/SQL function from a Backing Bean but i am getting a getDBTransaction error. Here is the example i was trying to do in a backing bean.
I Am getting the employee ID , sending it to a function that calculates the annual salary and then through a button whose code is in the backing bean, showing a message on the screen with the annual salary.
I am getting the JBO-25301 error.
Can't i use getDBTransaction in my backing bean.
Please have a look at the following thread:
Stored Procedure
Similar Messages
-
How to call a query from the backing bean ?
Hi all,
Another question for you guys :
I made a jspx page with an input form and a submit button.
When I click the submit button, the action my_action in my backing bean is executed.
This is the code :
public BindingContainer getBindings() {
return BindingContext.getCurrent().getCurrentBindingsEntry();
public String my_action() {
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("EmployeesView");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
I hoped that the query 'EmployeesView' was executed in this way, but I get the following exception :
java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding cannot be cast to oracle.binding.OperationBinding
So how should I execute the query EmployeesView ?
Second part of the question : What if I typed the name an employee in my form, and I want to
execute a query that selects all the Employees with that name ?
How do I make a query with a variable as input in the WHERE clause ?
Thanks in advance.
Edited by: Facehugger on 7-apr-2010 11:15I'm still trying all the stuff you guys says, but still no result.
This is my backing bean :
+// the button action+
+public String my_action() {+
+// get the selected rows from the multiselect table and store the objectid's in an String array+
RowKeySet rks = graph_table.getSelectedRowKeys();
Iterator itr = rks.iterator();
Object key;
int nbr_objects = 0 , i = 0;
if (rks.size()>0) nbr_objects = rks.size();
+String[] objectid = new String[nbr_objects];+
while(itr.hasNext())
+{+
key = itr.next();
graph_table.setRowKey(key);
Object o = graph_table.getRowData();
JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
Row row = rowData.getRow();
+objectid[i] = row.getAttribute("Objectid").toString();+
i+;+
+}+
+// now get all the x and y values for these objectid's from the database out of the table history.+
BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
for (int j=0 ; j<nbr_objects; j+){+
+// get X and Y values for object number j+
DataPoints history = new DataPoints();
OperationBinding operationBinding = bc.getOperationBinding("retrieveHistory"); ===> operationBinding stays NULL ???+
+operationBinding.getParamsMap().put("OBJECTID", objectid[j]);+
Object retVal = operationBinding.execute();
+// ==> retVal should contain a List of all X and Y values for the provided objectid.+
+// while (retVal has values)+
+// {+
+// List_of_x_values.add(retVal.valueX);+
+// List_of_y_values.add(retVal.valueY);+
+// }+
history.add(List_of_x_values);
history.add(List_of_y_values):
+// call the soap method to do some calculations+
methodname.forecast(history);
+}+
+}+
In my application module :
public void retrieveHistory(String objectid) {
getHistory().setWhereClause("OBJECTID = '" + objectid + "'");
System.out.println("current query : "+getHistory().getQuery());
getHistory().executeQuery();
public ViewObjectImpl getHistory() {+
return (ViewObjectImpl)findViewObject("History");+
The query for the VO History : SELECT * FROM HISTORY
Please anyone ?
Edited by: Facehugger on 9-apr-2010 14:19 -
ADF Question: call javascript function from backing bean?
Hi all,
I am running JDeveloper 10.1.3.3 with ADF BC.
Heres my situation:
I have a table, and after inserting a new row, then committing, I want to call a javascript function. I tried using the onkeyup javascript to force a click of the save button, and then call my function after that. However, I really only want the second function to be called AFTER the commit has occurred.
I have tried putting a setTimeout on the second function, but this never executes then. Is there some way that I can call the second javascript function from the backing bean? Is there a better workaround for this? Here is some code:
function submitCreate(e) {
var _event = (window.event) ? event : e;
var KeyID = _event.keyCode;
switch (KeyID)
case 13:
document.getElementById("form1:tvoTable:commitButton").onclick();
doAjax();
break;
function doAjax() {
var item = document.getElementById("form1:inputText3").innerHTML;
getAjax(item, "FULL");
}Thanks,
HeatherMaybe try adding an af:script block in your jsp as a partial target in your backing bean when you commit to the database? We are doing something similar when we get a tab DisclosureEvent but the principle should be the same.
In our jsp we have:
<af:script id="scriptID" text="alert('javascript here');"/>
In the backing bean we have:
method(DisclosureEvent de) {
// get a component somehow or the component, we get it from the disclosure event
// but you could use a binding also. if you don't have the exact script element you need
// to find it like we do below.
UIComponent c = de.getComponent();
// Find our real script component
UIComponent target = c.findComponent(":scriptID");
// get the adf context
AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
// add the script as a partial target.
if(target != null) {
adfContext.addPartialTarget(target);
This relies on PPR though, which you may not be doing. If you are navigating to a new page you could set an indication in a backing bean and then access that in an <af:script> block in the new page or even generate the Javascript you want depending on your logic and access all of it via an EL binding on the af:script tag:
<af:script id="scriptID" text="#{bbean.generatedScript}"/>
Hope this helps!
Steve -
Calling servlet from a backing bean
hi guys i need to call a servlet from a backing bean in JSF. how do i do that ?
The scenario is i have to call servlet on a different machine from my backing bean . I also need to pass an object to the servlet .
This object contains data which must be manipulated and inserted in the database by the calling servlet.
I also want that after insertion in the db the control must be passed to the backing bean .
Is this all possible???
Please helpYou may want to investigate the built in java.net.URL class. For advanced needs, Apache has a Java HTTP client library.
-
The difference in calling an application module from a backing bean
Hello everybody!
I don't understand exactly, where is the difference in calling an application module from a backing bean in the following ways.
Example 1
FacesContext context = FacesContext.getCurrentInstance();
ValueBinding vb = context.getApplication().createValueBinding("#{data}");
BindingContext bc = (BindingContext)vb.getValue(context);
DCDataControl dc = bc.findDataControl("AppModuleDataControl");
AppModuleImpl appModule = (AppModuleImpl)dc.getDataProvider();Example 2
String amDef = "model.services.AppModule";
String config = "AppModuleLocal";
AppModuleImpl appModule = (AppModuleImpl)Configuration.createRootApplicationModule(amDef, config);Example 3 (the same like Example 1???)
String EL = "#{data.AppModuleDataControl.dataProvider}";
FacesContext fc = FacesContext.getCurrentInstance();
ValueBinding vb = fc.getApplication().createValueBinding(EL);
AppModuleImpl appModule = (AppModuleImpl)vb.getValue(fc);Please can anybody explain, what the three examples do? Which example is preferred to call an application-module-method from a backing bean?
Thanks and regards
Majo
Edit: I am using ADF BC 10g in JDev10 :)Hi :)
>
This could work, but can you describe the use case for which you need to get the ApplicationModule?
Maybe we can find a better way to implement your functionality.
>
Sure, i know a lot of better ways to implement the same functionality too but its a huge project, its not my code and we have no time to reimplement this functions ;)
Frank, i don't understand the first line of your code.
DCBindingContainer bindings = ... resolve #{bindings}Where do i get the bindingContainer, if I don't have the "JSFUtils"- or "ADFUtils"-classes?
Regards
Majo
Edit:
Sorry, i have answer, before i think about it ;)
FacesContext context = FacesContext.getCurrentInstance();
Application app = context.getApplication();
DCBindingContainer bindings = (DCBindingContainer)app.getVariableResolver().resolveVariable(context, "bindings");
BindingContext bctx = bindings.getBindingContext();
DCDataControl dc = bctx.findDataControl("AppModuleDataControl");
AppModuleImpl am = (AppModuleImpl)dc.getDataProvider();or in my backing bean, when i add the property to the faces-config.xml
DCBindingContainer bindings = this.getBindings();
BindingContext bctx = bindings.getBindingContext();
DCDataControl dc = bctx.findDataControl("AppModuleDataControl");
AppModuleImpl am = (AppModuleImpl)dc.getDataProvider();Is this right? -
Is it possible to call a custom method in App Module from a backing bean?
I would like to know if a custom method in App Module can be called from inside a backing bean.
I am not sure if it is logically right to call, from a backing bean, a custom method in App Module. But would like to know if that makes sense or if it is possible.Hi..
Yes it is possible.You have to add that method for client interface of AppModule.Now you can see that method in Data Controls(Refresh the data control). To call this method using bean it should add as method action to bindings(Click Bindings>+>methodAction>and Create action binding).
Now you can call this method in bean class.
Check following example use this concept to execute view criteria
http://adf-lk.blogspot.com/2011/05/oracle-adf-create-view-criteria-and_4727.html -
Error when I call a method of AppModule from a backing bean.
I use Jdeveloper 10.1.3.0.3 EA.
In my application I have created ApplModule and UsrView(for my table USR).
I have a login page (login.jsp and the backing login.java) with 2 fields userName and password and an ADF Faces Core command button (cmdCheckPass) and the method cmdCheckPass _action() for the click event .
The problem is that I cant call method testPassword(userName, password) which is written in AppModule. (I get error:
javax.faces.FacesException: #{backing_login.cmdCheckPass_action}: javax.faces.el.EvaluationException: java.lang.NullPointerException) from line:
answer = app.testPass(st1,st2);
The code is as follows:
public String cmdCheckPass_action() {
String answer="";
String mes = "";
String st1=this.getInputText1().getValue().toString();
String st2=this.getInputText2().getValue().toString();
AppModuleImpl app = new AppModuleImpl();
answer = app.testPass(st1,st2);
if (answer == "OK") {
return "toMain";
} else {
answer = "";
mes="Invalid username, password !!!";
FacesContext.getCurrentInstance().addMessage(null,new FacesMessage(mes));
return answer;}
I dont know if theoretically is right to call, from a backing bean, a custom method of AppModule.
Can I have any help on this?
Thanks in advance,
PanosSome quick ideas:
Is the clip the same NTSC/PAL standard as the project you are importing it to?
Have you tried to rename the offending clip (do NOT rename any clips inside the iMovie /Media folder!!).
How much free space do you have on the iMovie project volume -- what is the size of the imported clip? -
Calling a function from a DLL, exectution in background mode.
Dear Experts,
We have created an ABAP report the calls a function from a DLL file. If the report is executed in on-line mode the program calls and executes the function from the DLL, but if the ABAP programa is executed in background mode it doesnt calls the DLL function.
Do you know a way to solve the problem when executing in background mode?
Best regards.
AntonioHi Gabriel,
Let me explain in details about my DLL function.
We are importing the business partners from legacy system into the SAP CRM system, so at the moment we created the BP master data via BAPI, I get the name of the BP and this moment I call the function in the DLL file. I export the parameter name and I receive back a simplified string with the name reduced to a code. This code I get back from the dll it is insert in a Z table, so there is no interaction in the screen, all must be executed in background mode, because there are a lot of business partners to be converted in SAP system.
I am sending my code for your considerations.
Instancia a DLL
CREATE OBJECT dll 'MTCODE.CPFONET'.
IF sy-subrc NE 0.
RAISE without_dll.
ENDIF.
Move para a tabela interna IT_NAME os valores recebidos na TI_NAME
it_name[] = ti_name[].
Para cada registro importado
LOOP AT it_name.
CLEAR v_string_ret.
wa_matchcode-zregid = it_name-zregid.
wa_matchcode-name1_text = it_name-name1_text.
v_string = it_name-name1_text.
CONDENSE v_string.
TRANSLATE v_string TO UPPER CASE.
CALL METHOD OF dll 'SetNome' EXPORTING #1 = v_string.
CALL METHOD OF dll 'ExecMatch'.
CALL METHOD OF DLL 'GetMCData' = v_string_ret.
FREE OBJECT dll.
Preenche os campos do match-code de acordo com o retorno da DLL
SPLIT v_string_ret
AT '|'
INTO wa_matchcode-zparmcln
wa_matchcode-zparmcfn
v_empty
wa_matchcode-name_first
wa_matchcode-name_last
wa_matchcode-namemiddle.
Adiciona o registro com o match-code correspondente na TE_MATCHCODE
APPEND wa_matchcode TO te_matchcode.
ENDLOOP. -
Calling a method in the backing bean when rendering a table
I'm rendering a table that begins with :
<h:dataTable value="#{showRooms.rooms}" var="rowRoom" ...
There are several properties I'm displaying. Some are just displayed as they appear from the database like:
<h:outputText value="#{rowRoom.roomNumber}"/>
However, some I need to translate so they display a more meaningful message to the users. For example, status is stored 'A', or 'NA', but this should display 'Available' or 'Not Available'. To do this, I'm taking an idea I saw in another forum by providing a method to call and translate the text. For example:
public String getDisplayedStatus(String status) {
if (status.equals("A") {
return "Available";
} else {
My problem is how can I invoke a method and pass in the current value of status for that row in the table. I think I need something like this:
<h:outputText value="#{showRooms.getDisplayedStatus(#{rowRoom.roomStatus})"/>
But that doesn't work. I can invoke the getDisplayedStatus method when passing in a hardcoded parameter, but it won't translate the value of both expressions(the method and the method param). How can I achieve this?
Thanks,
MikeYes. I've done that and it does work....sort of. It works as long as I refer to it as 'displayStatus'. It looks up the getDisplayStatus and returns a value. The problem is getting the current status value from the object in the List. For example, the 3rd row in the table has either 'A;' or 'NA' for status. I need to know this value in order to do my translation. The way I see it, I either need
1.)a way to call a method on the backing bean and pass the value of status from the current row into the method.
-or-
2.)in getDisplayStatus, I need a way to access the current row's value, perhaps through an expression. This appears to be what you can do in the AbstractPageBean class that all backing beans inherit in Studio Creator. I've seen code in a getter like 'getValue(#{currentRow.status}'), but I don't know how that is done. I looked for the source to AbstractPageBean on the web but couldn't find it - maybe its not open-source.
Anyway, please share if anyone has a solution. I'm sure this has been done before.
Thanks,
Mike -
Call appModule function inside a managed bean?
How can I call an Application Module public function from a managed bean?
FacesContext ctx = FacesContext.getCurrentInstance();
ectx = ctx.getExternalContext();
//Ask the container who the user logged in as
_userName = ectx.getRemoteUser();
// 1. Access the FacesContext
FacesContext fc = FacesContext.getCurrentInstance();
// 2. Create value binding for the #{data} EL expression
ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
// 3. Evaluate the value binding, casting the result to BindingContext
BindingContext bc = (BindingContext)vb.getValue(fc);
// 4. Find the data control by name from the binding context, here you must change to name of your AppModule name
DCDataControl dc = bc.findDataControl("AppModuleDataControl");
// 5. Access the application module data provider
ApplicationModule am = (ApplicationModule)dc.getDataProvider();
// 6. Cast the ApplicationModule to its client interface
appModule = (AppModuleImpl)am;
// 7. Call a method on the client interface
appModule.myMetod(); -
How to call oracle function from ejb3
i'm trying to call an oracle query-function from ejb3.
The oracle function:
create or replace FUNCTION getSecThreadCount(secId in NUMBER,avai in NUMBER)
RETURN SYS_REFCURSOR is cur SYS_REFCURSOR;
m_sql VARCHAR2(250);
BEGIN
m_sql:='select count(thrId) from thread where secId='|| secid||'
and thrAvai='|| avai;
open cur for m_sql;
return cur;
END;
I'v tried several ways to call it,but all failed:
1. the calling code:
public Object getSectionThreadCount(int secId,int avai){
Query query=manager.createNativeQuery("{call getSecThreadCount(?,?) }");
query.setParameter(1, secId);
query.setParameter(2, avai);
return query.getSingleResult();
but i got the exception:
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
Caused by: java.sql.SQLException: ORA-06550: row 1, col 7:
PLS-00221: 'GETSECTHREADCOUNT' not procedure or not defined
ORA-06550: row 1, col 7:
PL/SQL: Statement ignored
2. the calling code:
@SqlResultSetMapping(name = "getSecThreadCount_Mapping")
@NamedNativeQuery(name = "getSecThreadCount",
query = "{?=call getSecThreadCount(:secId,:avai)}",
resultSetMapping = "getSecThreadCount_Mapping",
hints = {@QueryHint(name = "org.hibernate.callable", value = "true"),
@QueryHint(name = "org.hibernate.readOnly", value = "true")})
public Object getSectionThreadCount(int secId,int avai){
Query query=manager.createNamedQuery("getSecThreadCount");
query.setParameter("secId", secId);
query.setParameter("avai", avai);
return query.getSingleResult();
but i run into the exception:
Exception in thread "main" javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
Caused by: java.sql.SQLException: lost in index IN or OUT parameter:: 3
By the way, i have successfully called the function from hibernate. And i use oracle 11g, JBoss5 RC1.
Could anyone tell me how to call the function from EJB3?
Thanks.Here's a working model:
package.procedure: (created in example schema scott)
CREATE OR REPLACE package body data_pkg as
type c_refcursor is ref cursor;
-- function that return all emps of a certain dept
function getEmployees ( p_deptId in number
return c_refcursor
is
l_refcursor c_refcursor;
begin
open l_refcursor
for
select e.empno as emp_id
, e.ename as emp_name
, e.job as emp_job
, e.hiredate as emp_hiredate
from emp e
where e.DEPTNO = p_deptId;
return l_refcursor;
end getEmployees;
end data_pkg;
/entity class:
package net.app.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedNativeQuery;
import javax.persistence.QueryHint;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
@SuppressWarnings("serial")
@Entity
@Table (name="emp")
@SequenceGenerator(name = "EmployeeSequence", sequenceName = "emp_seq")
@NamedNativeQuery( name = "getEmpsByDeptId"
, query = "{ ? = call data_pkg.getEmployees(?)}"
, resultClass = Employee.class
, hints = { @QueryHint(name = "org.hibernate.callable", value = "true")
, @QueryHint(name = "org.hibernate.readOnly", value = "true")
public class Employee implements Serializable
@Id
@Column(name="emp_id")
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "EmployeeSequence")
private int id;
@Column(name="emp_name")
private String name;
@Column(name="emp_job")
private String job;
@Column(name="emp_hiredate")
private Date hiredate;
// constructor
public Employee (){}
// getters and setters
public int getId()
return id;
etc...session bean:
package net.app.entity;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.persistence.Query;
import net.app.entity.Employee;
import net.app.iface.ScottAdmin;
@Stateless
public class ScottAdminImpl implements ScottAdmin
@PersistenceContext
private EntityManager entityManager;
@SuppressWarnings("unchecked")
public List<Employee> getEmployeesByDeptId(int deptId)
ArrayList<Employee> empList;
try
Query query = entityManager.createNamedQuery("getEmpsByDeptId");
query.setParameter(1, deptId);
empList = (ArrayList<Employee>) query.getResultList();
return empList;
catch (Exception e)
e.printStackTrace(System.out);
return null;
}client:
package net.app.client;
import java.util.List;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import net.app.entity.Employee;
import net.app.iface.ScottAdmin;
public class ScottClient
public static void main(String[] args)
try
// create local interface
InitialContext ctx = new InitialContext();
ScottAdmin adminInterface = (ScottAdmin) ctx.lookup("ScottAdminImpl/remote");
// select employees by deptno
int deptno = 20;
List<Employee> empList = adminInterface.getEmployeesByDeptId(deptno);
// output
System.out.println("Listing employees:");
for (Employee emp : empList)
System.out.println(emp.getId() + ": " + emp.getName() + ", " + emp.getJob() + ", " + emp.getHiredate());
catch (NamingException e)
e.printStackTrace(System.out);
}Basically you just ignore the refcursor outbound parameter.
This is a stored function, have yet to try outbound refcursor parameters in stored procedures...
Edited by: _Locutus on Apr 2, 2009 2:37 PM -
Calling a Function from another Function within CFC
Hi all,
I have many functions in my CFC that do various things, but
one query is a query that selects absolutely every record from a
table.
The thing is, I need to do a query like this in another
function to obtain only a recordcount of the same table used in
both separate functions. Instead of writing the query out again,
how can I utilise the function already written?
My question is, how can I invoke and use the results of a
query in one cffunction for another cffunction in the same CFC
component?
An example may look like the code attached...
Many thanks for your patience and help!
Mikey.quote:
Originally posted by:
Dan Bracuk
Generally, to call a function from within a cfc, you do
exactly what you do outside a cfc.
For your specific case, if your requirements permit it, you
might consider caching the big query for a couple of seconds. Then
you can continously call the function and not have to wait for it
to run and bring back the data each time.
Do you mean to say that within a CFC function I can execute
the same cfinvoke tags I use in normal CFM pages?
Mikey. -
Accessing a JSF element from a back bean method
Hi,
short question, can I access the JSF element from a back bean method?
So, for example, if I have the following JSF code:
<h:panelGroup id="test1" rendered="#{bean.someMethod}">...</h:panelGroup>
<h:panelGroup id="test2" rendered="#{bean.someMethod}">...</h:panelGroup>
<h:panelGroup id="test3" rendered="#{bean.someMethod}">...</h:panelGroup>
Can I found out in some way, which element (esp. which ID) calls the someMethod-method?
Kind regards
MatthiasThere are more possibilities as well. If you depend it on for example the User's rights/groups, then you can also do for example:
rendered="#{user.admin}" // getter = public boolean isAdmin()
rendered="#{user.groupName == 'admin'}" // getter = public String getGroupName()
rendered="#{user.groupId > 1}" // getter = public int getGroupId()
rendered="#{fn:contains(user.groups, 'admin')}" // getter = public String[] getGroups() or public List<String> getGroups()
etc..I think it's after all just a matter of learning about the capabilities of EL a bit more. -
How call Flash function from C++?
Communication between C++ and ActiveX Flash object is
adjusted. The ActiveX calls C++ functions. But how a call Flash
functions from C++?
I try so: v_flash is control variable of the ActiveX the
container.
A code: v_flash. CallFunction ("test");
No effect
How it to make?Hi David, Thanks for the response. I found this solution by
following method:
Flash code either in class or frame:
ExternalInterface.addCallback("sendTextToFlash",
getTextFromJavaScript);
public function getTextFromJavaScript(user):void {
trace(user);
//Now whenever JavaScript function will be called from any
HTML or back end language then it definetly call directly that
flash function by following method
//HTML Code
function sendData(user){
//alert("values coming "+user);
SendDataToFlashMovie(user);
function getFlashMovieObject(movieName){
if (window.document[movieName]){
return window.document[movieName];
if (navigator.appName.indexOf("Microsoft Internet")==-1){
if (document.embeds && document.embeds[movieName])
return document.embeds[movieName];
else {// if (navigator.appName.indexOf("Microsoft
Internet")!=-1) {
return document.getElementById(movieName);
function SendDataToFlashMovie(user) {
var flashMovie=getFlashMovieObject("myFLA");
flashMovie.sendTextToFlash(user);
Now HTML or back end language has just need to call
sendData(
value)
I think its the right way, but if there is any other short
method like just call the function name from HTML and that directly
respond to Flash as per function name, then please let me
know. -
How can I call a function from a procedure
I have a function named: f_calc_value which return the variable v_result. This function is part of a package.
How can I call this function from a new procedure I am creating?
Thanksor refer this theread....calling function from procedure
Maybe you are looking for
-
I am updating the OS on my MacBook Pro from 10.5.8. I have installed 10.6.8 and the 10.6.8 combo v1.1. I cannot open my older version of Preview and do not appear to have a newer version which i thought would be on the Snow Leopard dvd. How can I
-
Message comming as alert !!
Hi I have a program unit in my form, I am using a cursor for inserting records in a table and displaying a message after each insert with " message (...)" inside the loop. the problem is that the message is comming as an alert for all the records ins
-
Connect Flash Builder 4 to remote PHP service
Hello i have seen some videos that explained how easy is connect Data/Services to local PHP server, and then extract the methods instantly. Also binding it to a datagrid, and everything was with wizard, easy and fast. I would like to do the same but
-
I have a Mac Pro, i believe from 2008 and my software is 10.5 i think.. should i upgarde to 10.6 first and then to OS X Lion?
-
LaserWriter 630 only prints the vertical lines test page
I have resurrected a LaserWriter 630 pro that hasn't been used for a year or so, which starts up and the green ready light comes on. When I print to it, the pages come out blank. I have tried printing a simple text file, which was blank, and a one pa