An example given below for Oracle Forms, when a value exists then execute query for that value to display the correspondent record else allow user to create a new record for that value. The following is the example given for HR schema employee table,…
Sharing a form to generate Excel file report from SQL query in Oracle Forms. This form can be used in Oracle Forms 6i and 10g / 11g. Below is the screen shot of this form and could be download from the following link: Excel_Rep.Fmb A procedure…
In this post you will learn how to specify any condition in enter query mode of Oracle Forms. Whenever Enter_Query command executes Oracle Forms comes into enter query mode and in that mode you can specify some criteria to filter the records and afte…
Example is given below to create a data block based on From Clause query in Oracle Forms. The following are the steps: Create a data block manually and set the following properties: You can specify different query as per your need. Then create the it…
query.setFirstResult(0),query.setMaxResults(1);相当于MySQL中的limit 0, 1; String hql = "FROM Forum f WHERE f.position < ? ORDER BY f.position DESC"; Query query = this.getSession().createQuery(hql); query.setParameter(0, p1); …
/** * Created by leo on 16/4/30. */ public interface GanchaiService { @GET("digest?t={type}&p={page}&size={count}") Call<List<GanChaiEntry>> ListGanchaiEntry(@Path("type") int type , @Path("count") int cou…