Referencing Record Groups in a PL/SQL Library program unit

I want to move a program unit into a PL/SQL Library. I know how to reference data items from the form, but how do I reference a record group? Here's the code sample:
PROCEDURE pu_init_tree IS
HTREE ITEM;
V_IGNORE NUMBER;
BEGIN
HTREE := FIND_ITEM('CONTROL_TREE.MENU');
V_IGNORE := POPULATE_GROUP('RG_USER_MENU_TREE');
FTREE.SET_TREE_PROPERTY(HTREE, FTREE.RECORD_GROUP,'RG_USER_MENU_TREE');
:CONTROL.Node_Selected := Ftree.Get_Tree_Node_Property('CONTROL_TREE.MENU', 1, Ftree.NODE_VALUE) ;
END;
Thanks much

Hi,
you can try adding parameters to your program unit:
PROCEDURE pu_init_tree(your_item_name in varchar2, your_rec_group_name in varchar2) IS
HTREE ITEM;
V_IGNORE NUMBER;
BEGIN
HTREE := FIND_ITEM(your_item_name);
V_IGNORE := POPULATE_GROUP(your_rec_group_name);
FTREE.SET_TREE_PROPERTY(HTREE, FTREE.RECORD_GROUP,your_rec_group_name);
:CONTROL.Node_Selected := Ftree.Get_Tree_Node_Property('CONTROL_TREE.MENU', 1, Ftree.NODE_VALUE) ;
END;
Regards,
Hugo

Similar Messages

  • Record Group In Insert Statement

    Hi All,
    I am using Oracle 9i Ver 2 & Developer 6i on Windows platform. I want to ask, can we pass a Form's Record Group object to a select statement as a whole. I mean something like this,
    Suppose emp_rg is a Forms RecordGroup which has all the columns of scott.emp table & it contains 10 rows. So, can I write like this:
    INSERT INTO emp VALUES(emp_rg);
    Or anything like this, if this is wrong.
    Or, I need to create a PL/SQL record object & then I can pass. Pls clarify.
    Thanks in Advance,
    Inderjeet Singh

    Yes I often have trouble deciding whether to use a record group or a pl/sql table. They both have their own advantages in different situations. Manipulating record groups programatically requires rather more cumbersome syntax, but they do come with some handy built-ins (such as populate_group), and they also integrate with LOVs, Trees etc.
    If you want the pl/sql table to be available throughout the form you will need to declare it in a package spec.
    Even with a pl/sql table, you will need to write code to feed it into your insert statement. I reckon a global temporary table might allow the most straightforward syntax.

  • Record Group in JDAPI

    Hi,
    I'm trying to create a form via JDAPI. I want to create a record group based on a SQL query.
    // create record group (SQL query based)
    RecordGroup rgSql = new RecordGroup(fmb, "RG_SQL");
    rgSql.setRecordGroupType(JdapiTypes.REGR_QUERY_CTID);
    // create the columns
    RecordGroupColumn rgc1 = new RecordGroupColumn(rgSql, "PROJ_ID");
    RecordGroupColumn rgc2 = new RecordGroupColumn(rgSql, "NAME");
    // assign query
    rgSql.setRecordGroupQuery("SELECT PROJ_ID, NAME FROM PROJECTS");
    The record group is created at correct type, but the query is not assigned, either if I include the RecordGroupColumn-lines or not.
    What am I doing wrong? Can anybody help.
    Andreas

    You're right, it's not very easy to find a reason for that ;-)
    I'm trying out new features of Forms9i, so I am testing JDAPI as well.
    The only reason I can imagine is that there is a big forms application of many hundreds of forms modules, and each of them has to be processed the same way.
    For example, to each table of an application two new fields MOD_USER and MOD_DATETIME have been added to log data modifications. If these fields should be shown in the forms modules, you have to add new items in each form.
    Andreas

  • Sql expressions in Forms 4.5 Record Groups

    I have a record group that was asked to change, and when I change it I get an 'Unhandled exception error in icrg 102' and then a Frm-12001. I've tracked it down to a view that uses a function call to format a address line. If I put the function call in the Sql statement in the record group forms will not except the statment. I believe that the Record Groups were created in Forms 4.0.

    IF v_value = 'Y'
    THEN
    lvl$std.copy_number(0,'BLK1.V_ITEM_NAME1');
    ND IF;
    I written in post-query.What does
    lvl$std.copy_number(0,'BLK1.V_ITEM_NAME1');do that
    :blk1.v_item_name1 := 0;doesn't?

  • Pl/sql and record groups

    i am trying to populate a combo box with a record group. i have the following code:
    BEGIN
    POPULATE_LIST('LSTTEST','MODMAIN.RGPCBO');
    END;
    MODMAIN is the name of the form where the record group is.
    the combo box is not displaying any records.
    is there an easier way of doing this?

    Hi michael,
    Instead of populating combobox manually,
    do the following which is easier:
    First create a block , create item which is combobox time and assign name of database column of which value has to be populated.
    This will definetely solve ur problem...
    If still any problem then do mention it...
    Regards,
    Rakesh

  • Record group in the CUSTOM.pll lib...

    Hi,
    According to the Developer's Guide (page 28-3) ...
    "You cannot use any SQL in the library. However, *you can use a record group to issue SELECT statements*, and .....".
    Is there any example, document showing this approach...????
    Note: I use EBS 11.5.10.2
    Thank you,
    Sim

    Hi ashok:
    Please check below and see its helpful:
    HOW TO DELETE OR ADD COLUMN NAMES FROM AN LOV COLUMN MAPPING [ID 1064257.6]
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/frm_tabular.htm
    Also please check:
    FAQ For Oracle Quality Application for Setup, Charts and Reports, and General Questons [ID 395807.1]
    Regard
    Helios

  • Missing or invalid version of SQL library PSORA (200,0)

    I am trying to configure App. Server on Vista laptop machine.
    The machine name is VRGhati03.
    It is a logical 3 tier archtecture. Its a EPM 9.0 Install. My database (PFDMO) is all configured and I am able to signon using a User ID VP1 and password VP1. My connect id is people with password of peop1e.
    My access id is SYSADM.
    I have created a user id in Oracle as VP1 and granted him the PSADMIN role .
    When I try to boot up the App. Server it tells me ' Missing or invalid version of SQL Library PSORA' and 'Could not sign on to database PFDMO with user VP1'
    The VP1 sign on works via SQLPLUS.
    I also created a User Account of VP1 and tried to boot the appserver under that id but still no success.
    I have gone thru some of the postings on this topic but they have not helped me. What am I doing wrong?
    Below are the details of the log files, portion of my psappserv.cng file and the system environment variables.
    Can somebody help. Thanks in advance
    Sudhir
    I) Log from APPSERV:
    PSADMIN.10000 (0) [08/05/09 09:19:24](0) Begin boot attempt on domain PFDMO
    PSWATCHSRV.2556 (0) [08/05/09 09:19:33] Checking process status every 120 seconds
    PSWATCHSRV.2556 (0) [08/05/09 09:19:33] Server started
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](0) PeopleTools Release 8.49 (WinX86) starting
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](0) Cache Directory being used: C:\PT8.49\appserv\PFDMO\CACHE\PSAPPSRV_2\
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library PSORA (200,0)
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PFDMO with user VP1.
    PSAPPSRV.5636 (0) [08/05/09 09:19:34](0) Server failed to start
    PSWATCHSRV.2556 (0) [08/05/09 09:19:35] Shutting down
    PSADMIN.10000 (0) [08/05/09 09:19:41](0) End boot attempt on domain PFDMO
    II) Log from TUXLOG:
    091924.VRGHATI03!PSADMIN.10000: Begin attempt on domain PFDMO
    091927.VRGHATI03!tmadmin.9844.8684.-2: TMADMIN_CAT:1330: INFO: Command: boot -A
    091929.VRGHATI03!tmboot.9720.8272.-2: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091929.VRGHATI03!tmboot.9720.8272.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 60 seconds
    091929.VRGHATI03!tmboot.9720.8272.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    091931.VRGHATI03!BBL.8340.3320.0: 08-05-2009: Tuxedo Version 9.1, 32-bit, Patch Level 036
    091931.VRGHATI03!BBL.8340.3320.0: LIBTUX_CAT:262: INFO: Standard main starting
    091933.VRGHATI03!tmboot.9224.8412.-2: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091933.VRGHATI03!tmboot.9224.8412.-2: CMDTUX_CAT:1851: INFO: TM_BOOTTIMEOUT is set to 60 seconds
    091933.VRGHATI03!tmboot.9224.8412.-2: CMDTUX_CAT:1855: INFO: TM_BOOTPRESUMEDFAIL option is selected
    091933.VRGHATI03!PSWATCHSRV.2556.9492.-2: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091933.VRGHATI03!PSWATCHSRV.2556.9492.-2: LIBTUX_CAT:262: INFO: Standard main starting
    091934.VRGHATI03!PSAPPSRV.5636.9008.0: 08-05-2009: Tuxedo Version 9.1, 32-bit
    091934.VRGHATI03!PSAPPSRV.5636.9008.0: LIBTUX_CAT:262: INFO: Standard main starting
    091934.VRGHATI03!PSAPPSRV.5636.9008.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    091934.VRGHATI03!tmboot.9224.8412.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; initiating user error handler
    091938.VRGHATI03!BBL.8340.3320.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    091941.VRGHATI03!PSADMIN.10000: End boot attempt on domain PFDMO
    III) System Environmental Variables:
    LIBPATH=c:\oracle\product\10.2.0\db_1\LIB
    ORACLE_SID=PFDMO
    OS=Windows_NT
    path=C:\oracle\product\10.2.0\db_1\bin;C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\product\10.1.3.1\OracleAS_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\bea\Tuxedo9.1\bin
    TUXDIR=C:\bea\Tuxedo9.1
    IV) psappserv.cfg File:
    [Startup]
    ;=========================================================================
    ; Database Signon settings
    ;=========================================================================
    DBName=PFDMO
    DBType=ORACLE
    UserId=VP1
    UserPswd=tRWpMM0Cragi9I0nrWPAxZ+GS1YD0PRXzCrF4YWbe5E=
    ConnectId=people
    ConnectPswd=kyD3QPxnrag=
    ServerName=VRGhati03
    [Database Options]
    ;=========================================================================
    ; Database-specific configuration options
    ;=========================================================================
    SybasePacketSize=
    UseLocalOracleDB=0
    ;ORACLE_SID=
    EnableDBMonitoring=1
    OracleDisableFirstRowsHint=0
    [Security]
    ;=========================================================================
    ; Security settings
    ;=========================================================================
    Validate Signon with Database=0
    [Workstation Listener]
    ;=========================================================================
    ; Settings for Workstation Listener
    ;=========================================================================
    Address=%PS_MACH%
    Port=7000
    Encryption=0
    Min Handlers=1
    Max Handlers=3
    Max Clients per Handler=40
    Client Cleanup Timeout=60
    Init Timeout=5
    Tuxedo Compression Threshold=5000
    [JOLT Listener]
    ;=========================================================================
    ; Settings for JOLT Listener
    ;=========================================================================
    Address=%PS_MACH%
    Port=9000
    Encryption=0
    Min Handlers=5
    Max Handlers=7
    Max Clients per Handler=40
    Client Cleanup Timeout=10
    Init Timeout=5
    Client Connection Mode=ANY
    Jolt Compression Threshold=1000000
    [JOLT Relay Adapter]
    ;=========================================================================
    ; Settings for JOLT Relay Adapter (JRAD)
    ;=========================================================================
    Listener Address=%PS_MACH%
    Listener Port=9100
    [Domain Settings]
    ;=========================================================================
    ; General settings for this Application Server.
    ;=========================================================================
    Domain ID=PFDMO
    Add to PATH=c:\oracle\product\10.2.0\db_1\BIN
    Spawn Threshold=1,600:1,1
    Restartable=Y
    ;Log Directory=%PS_SERVDIR%\LOGS
    ; This allows for dynamic changes to certain setting without having to reboot
    ; the domain. The settings that can be dynamically changed are: Recycle Count,
    ; Consecutive Service failures, Trace SQL, Trace Mask SQL, TracePC, TracePCMask,
    ; TracePpr, TracePprMask, TracePIA, TracePIAMask, Log Fence, Enable DB Monitoring,
    ; Enable Debugging, LogErrorReport, MailErrorReport, DumpMemoryImageAtCrash
    ; These settings are further identified by the "Dynamic change allowed for .."
    ; comment.
    Allow Dynamic Changes=N
    ; Logging detail level
    ; Level Type of information
    ; -100 - Suppress logging
    ; -1 - Protocol, memory errors
    ; 0 - Status information
    ; 1 - General errors
    ; 2 - Warnings
    ; 3 - Tracing Level 1 (default)
    ; 4 - Tracing Level 2
    ; 5 - Tracing Level 3
    ; Dynamic change allowed for LogFence
    LogFence=3
    ; Trace-Log File Character Set: Character set used for log and trace files
    Trace-Log File Character Set=ANSI
    [PeopleCode Debugger]
    ;=========================================================================
    ; PeopleCode Debug Server settings
    ;=========================================================================
    PSDBGSRV Listener Port=9500
    ; PeopleCode Debugger Trace Settings
    ; Level Type of tracing
    ; 0 Off (default)
    ; 1 Level 1 - log connection activity
    ; 2 Level 2 - log debug broker transactions (getsession, register/unregister, acquire/unacquire)
    ; 3 Level 3 - log primary debuggee/debugger transactions (register, modechange, seteventflag, break)
    ; 4 Level 4 - log debuggee/debugger variables transactions
    ; 5 Level 5 - log debuggee/debugger command responses and gotbreaks
    ; Warning: Levels 3 thru 5 result in lots of transaction data being logger and require plenty of disk space.
    DebuggerMsgLogEnable=0
    [Trace]
    ;=========================================================================
    ; Server Trace settings
    ;=========================================================================
    ; SQL Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - SQL statements
    ; 2 - SQL statement variables
    ; 4 - SQL connect, disconnect, commit and rollback
    ; 8 - Row Fetch (indicates that it occurred, not data)
    ; 16 - All other API calls except ssb
    ; 32 - Set Select Buffers (identifies the attributes of columns
    ; to be selected).
    ; 64 - Database API specific calls
    ; 128 - COBOL statement timings
    ; 256 - Sybase Bind information
    ; 512 - Sybase Fetch information
    ; 1024 - SQL Informational Trace
    ; 4096 - Manager information
    ; 8192 - Mapcore information
    ; Dynamic change allowed for TraceSql and TraceSqlMask
    TraceSql=0
    TraceSqlMask=12319
    ; PeopleCode Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Trace Evaluator instructions (not recommended)
    ; 2 - List Evaluator program (not recommended)
    ; 4 - Show assignments to variables
    ; 8 - Show fetched values
    ; 16 - Show stack
    ; 64 - Trace start of programs
    ; 128 - Trace external function calls
    ; 256 - Trace internal function calls
    ; 512 - Show parameter values
    ; 1024 - Show function return value
    ; 2048 - Trace each statement in program (recommended)
    ; Dynamic change allowed for TracePC and TracePCMask
    TracePC=0
    TracePCMask=4095
    ; Panel Processor Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Log extra debug messages
    ; 2 - Dump panel after build
    ; 4 - Dump buffers after PPRInit
    ; 8 - Dump buffers before/after service
    ; 16 - Dump buffers after scrollselect
    ; 32 - Dump buffers after modal panel
    ; 64 - Dump buffers before save
    ; 128 - Dump buffers after insertrow
    ; 256 - Trace default processing
    ; 512 - Dump PRM data
    ; 1024 - Show function return value
    ; 2048 - dump memory statistics
    ; 4096 - Trace related display processing
    ; 8192 - Trace keylist generation
    ; 16384 - Trace work record settings
    ; Dynamic change allowed for TracePPR and TracePPRMask
    TracePPR=0
    TracePPRMask=32767
    ; PIA Page Generation Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Log page generation errors
    ; 2 - Show table layout via cell borders in generated page
    ; 4 - Annotate field overlap in HTML source
    ; 8 - Detailed trace of table generation algorithm
    ; 16 - Inline stylesheet in generated pages
    ; 32 - Inline javascript in generated pages
    ; 64 - QATesting - annotation and extra tags needed by Robot
    ; 128 - Format source. Make HTML more readable
    ; 256 - Save File. Save each generated page in log directory
    ; 512 - Debug JavaScript. Include debug functions in page
    ; 1024 - Log form data. Log all request parameters on each service
    ; 2048 - Log key errors. Write log message for unrecognized query parameters.
    ; Dynamic change allowed for TracePIA and TracePIAMask
    TracePIA=0
    TracePIAMask=32767
    ; AE Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Trace STEP execution sequence to AET file
    ; 2 - Trace Application SQL statements to AET file
    ; 4 - Trace Dedicated Temp Table Allocation to AET file
    ; 8 - not yet allocated
    ; 16 - not yet allocated
    ; 32 - not yet allocated
    ; 64 - not yet allocated
    ; 128 - Timings Report to AET file
    ; 256 - Method/BuiltIn detail instead of summary in AET Timings Report
    ; 512 - not yet allocated
    ; 1024 - Timings Report to tables, ignored if Process Instance is 0
    ; 2048 - DB optimizer trace to file
    ; 4096 - DB optimizer trace to tables
    ; 8192 - Transform trace
    TraceAE=0
    ; Analytic Server Tracing Bitfield
    ; MostSignificantBit -> LeastSignificantBit
    ; QAS |ACE MODEL | ACE CALC | ACE API| Plugin | DCache | Utils | Analytic Server |
    ; 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
    ; Bit Type of tracing 3 bits per component (octal word)
    ; 1 - Analytic Server LSB
    ; 2 - Analytic Server MSB LSB LogFence
    ; 4 - Analytic Server MSB --- --- --------------------
    ; 8 - Utilities LSB 0 0 0 0 (Severity_Status)
    ; 16 - Utilities 0 0 1 1 (Severity_Error)
    ; 32 - Utilities MSB 0 1 0 2 (Severity_Warn)
    ; 64 - DataCache LSB 0 1 1 3 (Severity_Info)
    ; 128 - DataCache 1 0 0 4 (Severity_Trace1)
    ; 256 - DataCache MSB 1 0 1 5 (Severity_Trace2)
    ; 512 - Plug-in LSB 1 1 0 6 (not used)
    ; 1024 - Plug-in 1 1 1 7 (not used)
    ; 2048 - Plug-in MSB
    ; 4096 - ACE API LSB
    ; 8192 - ACE API
    ; 16384 - ACE API MSB
    ; 32768 - ACE CALC LSB
    ; 65536 - ACE CALC
    ; 131072 - ACE CALC MSB
    ; 262144 - ACE MODEL LSB
    ; 524288 - ACE MODEL
    ; 1048576 - ACE MODEL MSB
    ; 2097152 - QAS LSB
    ; 4194304 - QAS
    ; 8388608 - QAS MSB
    ; The bits enable logging for OptEngine components beyond the standard
    ; LogFence setting. E.g., TraceAnalytic=14380470 sets full trace on all components.
    ; Using 110 (1 greater than Severity_Trace2) for each component:
    ; OptEng: 4 + 2
    ; Utils : 32 + 16
    ; DC : 256 + 128
    ; Plugin: 2048 + 1024
    ; ACE API: 16384 + 8192
    ; ACE CALC: 131072 + 65536
    ; ACE MODEL: 1048576 + 524288
    ; QAS : 8388608 + 4194304
    ; Total : 14380470
    TraceAnalytic=9586980
    TraceAnalyticMask=16777215
    ; Performance Monitor Tracing Bitfield
    ; Bit Type of tracing
    ; 1 - Trace All performance monitor agent activity
    TracePPM=0
    ; Create a memory image of the failing process during a crash
    ; Setting Meaning
    ; NONE no memory image
    ; MINI mini memory image
    ; FULL full memory image
    ; If set to MINI or FULL, when a crash occurs, a memory.dmp file is
    ; generated under <log directory>/<server name>.<process id>.
    ; Dynamic change allowed.
    DumpMemoryImageAtCrash=NONE
    ;If set to Y, when a crash occurs, the application server process will write
    ;additional information to help in debugging the crash that occurred.
    ;This consists of the customized object definitions for reproducing
    ;the request on another database.
    DumpManagerObjectsAtCrash=Y
    ; If set to Y, when a runtime error is detected, the message and a dump of
    ; the application state will be written to the current log file.
    ; Dynamic change allowed.
    LogErrorReport=N
    ; When set to an email address, an email will be sent when an error report
    ; or a crash dump is written to the log.
    ; Dynamic change allowed.
    MailErrorReport=
    [Cache Settings]
    ;==============================================================================================
    ; Settings for managed object caching;
    ; Default EnableServerCaching=2, ServerCacheMode=0
    ; Default CacheBaseDir=%PS_SERVDIR% if defined else %PS_HOME/<domain name>/cache
    ; You can change these values by uncommenting and setting to the desired value
    ;==============================================================================================
    ; EnableServerCaching -
    ; 0 Server file caching disabled
    ; 1 Server file caching limited to most used classes
    ; 2 Server file caching for all types
    ;EnableServerCaching=2
    ; CacheBaseDir = the base file cache directory
    ;CacheBaseDir=%PS_SERVDIR%
    ; ServerCacheMode
    ; 0 One file cache directory per app server process
    ; 1 One file cache directory per domain (shared file cache, needs to be preloaded)
    ;ServerCacheMode=0
    ; Deprecated cache settings : MaxInMemoryObjects
    ; MaxCacheMemory - controls cache memory pruning
    ; 0 cache memory pruning disabled
    ; >0 max size of memory cache in MBytes
    MaxCacheMemory=0
    ; Preload Cache projects for file and in memory cache
    ;PreloadFileCache=
    ;PreloadMemoryCache=
    [RemoteCall]
    ;=========================================================================
    ; Settings for RemoteCall
    ;=========================================================================
    ; RemoteCall child process output redirection
    ; If this parameter is non-zero, the child process output is saved to
    ; <Domain Settings\Log Directory>\<program>_<oprid>.out, and any error
    ; output is saved to <program>_<oprid>.err.
    ; By default, the output is not saved
    RCCBL Redirect=0
    ; Location of COBOL programs
    ; NT/Windows 2000: By default, RemoteCall looks for the COBOL programs in
    ; %PS_HOME%\cblbin%PS_COBOLTYPE%. PS_COBOLTYPE is automatically set when
    ; the application server is started. The value depends upon the database.
    ; Possible values:
    ; PS_COBOLTYPE = A (non-Unicode)
    ; PS_COBOLTYPE = E (EBCDIC)
    ; PS_COBOLTYPE = U (Unicode)
    ; UNIX: By default, RemoteCall looks for the COBOL programs in $PS_HOME/cblbin.
    ; You can override the default setting by commenting out the appropriate
    ; line and modifying the setting to fit your requirements.
    ; NT/Windows 2000:
    ;RCCBL PRDBIN=%PS_HOME%\cblbin%PS_COBOLTYPE%
    ; UNIX:
    ;RCCBL PRDBIN=%PS_HOME%/cblbin
    [PSAPPSRV]
    ;=========================================================================
    ; Settings for PSAPPSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=3
    Max Instances=3
    Service Timeout=300
    ; Number of services after which PSAPPSRV will automatically restart.
    ; If the recycle count is set to zero, PSAPPSRV will never be recycled.
    ; The default value is 5000.
    ; Dynamic change allowed for Recycle Count
    Recycle Count=5000
    ; Percentage of Memory Growth after which PSAPPSRV will automatically restart.
    ; Default is 20, meaning additional 20% of memory growth after the process has
    ; built up its memory cache.
    ; Uncomment the setting to use memory growth instead of Recycle Count at
    ; determining the restart point.
    ; Percentage of Memory Growth=20
    ; Number of consecutive service failures after which PSAPPSRV will
    ; automatically restart.
    ; If this is set to zero, PSAPPSRV will never be recycled.
    ; The default value is zero.
    ; Dynamic change allowed for Allowed Consec Service Failures
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Default is 5000KB. Use 0 for no limit.
    Max Fetch Size=5000
    ; Automatically select prompt, 1 = yes, 0 = no
    Auto Select Prompts=1
    ; This parameter is used for Tuxedo Queue Thresold Determination (used forPub/Sub
    ; processing only). This parameter is the actual Tuxedo message queue size.
    ; This is a kernel parameter in Unix. For Windows, look in BEA Tuxedo, IPC Resources.
    ; A value of 0 will disable Tuxedo Queue threshold Determination and usage.
    ; A value of -1 will use these defaults: Windows = 65535, AIX = 4000000,
    ; Solaris = 65535, HP = 65535
    Tuxedo Queue Size=65535
    [PSANALYTICSRV]
    ;=========================================================================
    ; Settings for PSANALYTICSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=3
    Max Instances=3
    ; Number of Analytic Instances an Analytic Server instance will load and
    ; unload before recycling. If the recycle count is set to zero, the
    ; Analytic Server will never be recycled.
    ; The default value is 1.
    ; Dynamic changes to this setting are allowed. A dynamic change will
    ; affect running Analytic Servers.
    ;Recycle Count=1
    ; Number of minutes an analytic instance will remain loaded without being
    ; accessed when it is auto-loaded by the analytic grid or when a
    ; PeopleCode program loads the instance with a timeout value of -1.
    ; The default value is 30
    ; Setting this to zero will disable timeouts for auto-loaded instances.
    ; Dynamic changes to this setting are allowed.
    ;Analytic Instance Idle Timeout=30
    ; Setting this to 1 will cause each analytic server to log to it's own
    ; file rather than the common PSANALYTICSRV_<Month|Day>.LOG file. The
    ; individual log files will include the Tuxedo server ID.
    ; Dynamic changes to this setting are allowed. Changes will only come
    ; into affect for running analytic servers when they are recycled.
    ; The default value is 0
    ;Analytic Per Server Log=1
    ; This setting determines what is the threshold to enable file swaping
    ; in ACE. Each data block is of 6K. Each data cube is divided into multiple
    ; data blocks. In batch environment this could be configured to a higher value.
    ; The default value is 1024 blocks. If set to zero, the disk swaping is disabled.
    ;ACE Max Memory Data Blocks=1024
    ; Queue size for data loading in batches. If set to zero, batch loading is disabled.
    ;ACE Load Queue Size=100000
    [PSSAMSRV]
    ;=========================================================================
    ; Settings for PSSAMSRV
    ;=========================================================================
    ; UBBGEN settings
    ; PSSAMSRV never spawns, so we set Instances instead of setting a Min and
    ; Max value for Instances.
    Min Instances=1
    Max Instances=3
    Service Timeout=300
    ; Number of services after which PSSAMSRV will automatically restart.
    ; If the recycle count is set to zero, PSSAMSRV will never be recycled.
    ; The default value is zero.
    Recycle Count=100000
    ; Number of consecutive service failures after which PSSAMSRV will
    ; automatically restart.
    ; If this is set to zero, PSSAMSRV will never be recycled.
    ; The default value is zero.
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Max Fetch Size=n indicates n * 1024 bytes
    ; Default is 32KB. Use 0 for no limit
    Max Fetch Size=32
    [PSQCKSRV]
    ;=========================================================================
    ; Settings for PSQCKSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=1
    Max Instances=3
    Service Timeout=300
    ; Number of services after which PSQCKSRV will automatically restart.
    ; If the recycle count is set to zero, PSQCKSRV will never be recycled.
    ; The default value is zero.
    Recycle Count=100000
    ; Number of consecutive service failures after which PSQCKSRV will
    ; automatically restart.
    ; If this is set to zero, PSQCKSRV will never be recycled.
    ; The default value is zero.
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Default is 5000KB. Use 0 for no limit.
    Max Fetch Size=5000
    [PSQRYSRV]
    ;=========================================================================
    ; Settings for PSQRYSRV
    ;=========================================================================
    ; UBBGEN settings
    Min Instances=1
    Max Instances=3
    Service Timeout=1200
    ; Number of services after which PSQRYSRV will automatically restart.
    ; If the recycle count is set to zero, PSQRYSRV will never be recycled.
    ; The default value is zero.
    Recycle Count=100000
    ; Number of consecutive service failures after which PSQRYSRV will
    ; automatically restart.
    ; If this is set to zero, PSQRYSRV will never be recycled.
    ; The default value is zero.
    Allowed Consec Service Failures=2
    ; Max Fetch Size -- max result set size in KB for a SELECT query
    ; Default is 10000KB. Use 0 for no limit.
    Max Fetch Size=10000
    ; Use dirty-read(uncommitted read) for PSQRYSRV only on DB2/OS390 or SQL Server
    Use dirty-read=0

    VP1 is an application user, not a database user.
    PS is a database user, the Peoplesoft objects' owner. It is also an application user on some application.
    Did you try to connect onto the database with people user through SQL*Plus ? Are you able to read PSOPRDEFN, PSVERSION, PSACCESSPRFL tables ?
    What Vista version are you on ? What Oracle version ?
    If you have Metalink3 access, you should read the note :
    Missing or invalid version of SQL library libpsora (0,0) or (200,0) (Doc ID 608741.1)+
    Nicolas.

  • Strange Problem in dynamically list population with record group

    Hello Room,
    I am dynamically populating a single list with 2 record groups. I am having a strange problem. All the code are written in 2 seperate buttons. The code of every button is given below.
    Button 1 code:-
    DECLARE
    rg_reports RECORDGROUP;
    rg_name VARCHAR2(40) := 'REPORTS';
    vTemp NUMBER;
    BEGIN
    -- Pls make sure Group doesn't already exist
    rg_reports := FIND_GROUP(rg_name);
    -- If it doesn't exist then create it and add ur query to it
    IF Id_Null (rg_reports) THEN
    rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT companyname,to_char(co) from companymaster order by companyname');
    end if;
    --Populate the Record Group
    vTemp:=POPULATE_GROUP(rg_reports);
    POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
    Delete_Group( rg_reports );
    END;
    Button 2 Code:-
    DECLARE
    rg_reports RECORDGROUP;
    rg_name VARCHAR2(40) := 'REPORTS';
    vTemp NUMBER;
    BEGIN
    -- Pls make sure Group doesn't already exist
    rg_reports := FIND_GROUP(rg_name);
    -- If it doesn't exist then create it and add ur query to it
    IF Id_Null (rg_reports) THEN
    rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT accountname,to_char(co) from accountmaster order by accountname');
    end if;
    --Populate the Record Group
    vTemp:=POPULATE_GROUP(rg_reports);
    POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
    Delete_Group( rg_reports );
    END;
    The code is same here only the sql is different in these 2 buttons. Now the problem point.
    when i press button 1, I get the list populated ok. when i try to click on the list item and keep the button pressed the list gets scrolled properly.
    when i press button 2 after that i get account names well populated in the same list item as well, but this time, when i keep the button pressed the list does not scroll below as in button 1. It does not even allow to select different item from the list of button 2 code.
    I tried to clear cache, cookies, exit browser everything and try to run the button 2 first, but still the problem in button 2 code.
    Following are my system details.
    windows 7 professional edition.
    Oracle database 11g on windows 7
    Oracle forms 10g patchset 10.1.2.0.2 on windows 7
    Browser Netscape Navigator with oracle jinitiator 1.3.1.22
    But this form is run by a client side html file where oracle forms 10g is not installed on windows xp. html file is just referring server url to run the module. The file is run on Netscape navigator browser with oracle jinitiator 1.3.1.22
    My question is that is this a bug ? if button 1 gets the list item scrolled, why is the problem with button 2 even though i press it first. Here I am deleting the record group also. after the code is over. Initially I thought this may be the character length problem so I took the maximum character length for that list item as given by the 2 columns in database.
    Why is the list scrolling not happening in button 2 but in button 1 with same codes on both ?
    Anybody please help me.

    The problem is the second query. I would guess that the TO_CHAR(co) is not unique for each account, but is the same for the accounts. And as the second item in the select-list is the listitems values, all your listitem-entries have the same value. therefore, of you select any entry, the list will always go the the first entry again.
    Adjust your query.

  • Dynamically creating a Record Group based on Previously entered Record Grou

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    Hi,
    I know how to dynamically create a record group based on a query and putting the code in When new form instance.
    My query is. I have a form which has multiple Record Groups and the user wants to dynamically create subsequent groups based on previous groups.
    For example
    I have a record group with selects a Location,
    when the user selects the Location from a list of values
    the 2nd record group called 'Cost Centres' will have to filter out only those with the locations selected above.
    How can I populate the 2nd record group at run-time when I do not know what site the user will select?
    If I simply populate in when new form instance as in location and just select everything, the list of values populates.
    CC field is a LIST ITEM and the list style is a POP LIST, it is not required.
    I have put the code in the Location field in the when-list-changed trigger.
    I am getting this error:
    frm-41337: cannot populate the list from the record group
    here is the code:
    DECLARE
    v_recsql Varchar2(1000); -- The SQL for creating the Record Group.
    v_recgrp RecordGroup; -- Record Group
    v_status Number; -- Return Value of Populate_Group function.
    c_where VARCHAR2(1000);
    BEGIN
         IF :location = '1' THEN
              c_where := ' substr(cost_centre,1,2) in (''01'',''02'')';
         ELSIF :location  = '2' THEN
              c_where := ' substr(cost_centre,1,2) in (''02'',''03'')';
         ELSIF :location   = '3' THEN
              c_where := ' substr(cost_centre,1,2) in (''01'',''11'',''07'')';
                   ELSE
              c_where :=  ' 1=1'; --EVERYTHING
         END IF;
    v_recsql := 'SELECT cost_centre, description  FROM   cost_centres  where '||c_where;
    -- Create the Record Group
    v_recgrp := CREATE_GROUP_FROM_QUERY('v_recgrp', v_recsql);
    IF NOT ID_NULL(v_recgrp)
    THEN -- No Error, record group has been successfully created.
    -- Populate Record Group
    v_status := POPULATE_GROUP('v_recgrp');
    IF v_status = 0
    THEN -- No Error. Record Group has been Populated.
    POPULATE_LIST('block.CC', 'v_recgrp');
    END IF; -- IF v_status = 0
    -- Delete the Record Group as it is no longer needed.
    DELETE_GROUP('v_recgrp');
    END IF; -- IF NOT ID_NULL(v_recgrp)
    END;thanks for your assistance.

    Hi,
    Once record status gets change for block you can not populate/repopulate the list item. Keep those list items as non-database item with different names and create different items as database orignal items. Than assign the values in WHEN-LIST-CHANGE trigger to the actual database items.
    -Ammad

  • How to use group by in PL/SQL

    Can anyone give me a clue how to group rows using PL/SQL? I want to make a push button that groups a number of rows. When I run the form and push the button, I get the Oracle 01422 error. I am using one data block and, after pressing execute on the Oracle form in the web browser, I want to sort the rows using the group by clause as a pl sql trigger in a push button (with the WHEN BUTTON PRESSED trigger). I am new to Oracle Forms.

    I managed to use a cursor to access and display each row. I have to press the command button I created once for access of each row individually. I want to be able to push the button once, and populate each row with a record from my table. I am using the tabular format. Here is my code:
    DECLARE
         CURSOR email_message_cur
         IS
              SELECT sender, subject, body, date_time_sent
              FROM Email_Message
              ORDER BY sender;
    BEGIN
         OPEN email_message_cur;
         FETCH email_message_cur
         INTO :GROUP_EMAIL_MESSAGE.SENDER, :GROUP_EMAIL_MESSAGE.SUBJECT, :GROUP_EMAIL_MESSAGE.BODY, :GROUP_EMAIL_MESSAGE.DATE_TIME_SENT;
         WHILE email_message_cur%FOUND LOOP
              IF :GROUP_EMAIL_MESSAGE.SENDER IS NOT NULL THEN
                   CREATE_RECORD;
              END IF;
              FETCH email_message_cur INTO :GROUP_EMAIL_MESSAGE.SENDER, :GROUP_EMAIL_MESSAGE.SUBJECT, :GROUP_EMAIL_MESSAGE.BODY, :GROUP_EMAIL_MESSAGE.DATE_TIME_SENT;
         END LOOP;
         CLOSE email_message_cur;
    END;

  • Can I know the name, type, total number of column in Record Group?

    I created a record group with query dynamically.
    And then populated it.
    I don't know the column' count, type, name befause I get the query from user at runtime.
    Can I know the name, type, total number of column in Record Group?

    Unfortunately, there is no way to query the record group (RG) to get the metadata you are looking for. RGs are best used as data sources to an LOV or List Item rather than as an Array to hold the resultset of a dynamic query. For this, I would recommend you use a Collection type of construct (PL/SQL Table of Records, VArray, etc).
    Craig...

  • PL/SQL Library Reinitializes. WHY??

    Forms [32 Bit] Version 6.0.8.16.1 (Production)
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - Production
    I have a PL/SQL library that is attached to three forms.
    Form A and Form B invoke Form C via a procedure in the library using
    CALL_FORM(
    form_name,
    NO_HIDE,
    NO_REPLACE,
    NO_QUERY_ONLY,
    SHARE_LIBRARY_DATA
    The problem is Form A works properly, but Form B causes Form C to execute the package initialization block which resets all the global package variables.
    NOTE: Form C updates library globals in the PRE-FORM trigger. It is the first assignment to any library variable that causes Form B --> C to reinitialize the library.
    Any ideas would be greatly appreciated!

    Yes all three forms have the same library attached.
    Forms A and B handle transaction processing. 
    Form C handles payments for those transactions.
    The library has a package that handles payments and returns.  
    Forms A and B invoke form C via a call to PACKAGE_NAME.PAYMENT
    PACKAGE BODY PACKAGE_NAME IS
       PROCEDURE PAYMENT IS
          BEGIN
             CODE...
             CALL_FORM(
                FORM_NAME,
                NO_HIDE,
                NO_REPLACE,
                NO_QUERY_ONLY,
                SHARE_LIBRARY_DATA
             CODE...
          END;
       PROCEDURE RETURN IS
          BEGIN
             CODE....
          END;
    BEGIN
       -- PACKAGE INITIALIZATION BLOCK
       -- THIS IS THE CODE THAT IS GETTING EXECUTED AGAIN
       -- WHICH TELLS ME THE PACKAGE IN BEING RE-INITIALIZED.
       -- IT IS MY UNDERSTANDING THAT THIS CODE SHOULD ONLY BE
       -- EXECUTED THE FIRST TIME THE PACKAGE IS REFERENCED.
    END;
    Form A is working as expected, but invoking Form C from Form B is somehow causing the re-initialization of the package.
    This occurs the first time the library is referenced in Form C. It just happens that the first reference is in the PRE-FORM trigger.
    I can go in an out of Form C many times from Form B and each time the package is re-initialized.

  • How to Use name_in in the Pl/sql library

    Dear all,
    I have made a Pl/sql library to disable and enable items on the form
    and when i use set_item_property on some items it gives me an error " no such property for set_item_property", but i think its cause i am trying to set property for an item which is a current item
    how i can avoid this error?
    and do i have to user :system.current_item
    and how i can use it in the Pl/sql library is it like this? name_in('system.current_item');
    best regards,
    Shooosh

    Hi
    Here is a sample code check it out
    procedure rp_set_attr (p_field_name in varchar2, p_flag in varchar2) is
    -- p_flag : H - Hidden,
    -- V - Visible,
    -- D - Disabled,
    -- EM - Enabled Mandatory,
    -- EN - Enabled Non-Mandatory
    v_blk_id block := find_block(p_field_name);
    v_it_id item := find_item(p_field_name);
    begin
    if not id_null(v_blk_id) then
    if nvl(p_flag,'N') = 'D' then
    set_block_property (p_field_name, insert_allowed, property_false);
    set_block_property (p_field_name, update_allowed, property_false);
    set_block_property (p_field_name, delete_allowed, property_false);
    else
    set_block_property (p_field_name, insert_allowed, property_true);
    set_block_property (p_field_name, update_allowed, property_true);
    set_block_property (p_field_name, delete_allowed, property_true);
    end if;
    else
    if not id_null(v_it_id) then
    if p_flag = 'H' then
    set_item_property (p_field_name, visible, property_false);
    else
    if get_item_property (p_field_name, visible) = 'FALSE' then
    set_item_property (p_field_name, visible, property_true);
    end if;
    if get_item_property (p_field_name, item_type) = 'BUTTON' then
    if p_flag = 'D' then
    set_item_property (p_field_name, enabled, property_false);
    else
    set_item_property (p_field_name, enabled, property_true);
    end if;
    elsif get_item_property (p_field_name, item_type) <> 'DISPLAY ITEM' then
    if p_flag = 'D' then
    set_item_property (v_it_id, enabled, property_false);
    set_item_property (v_it_id, visual_attribute, 'DISPLAY_ITEM');
    else
    set_item_property (v_it_id, enabled, property_true);
    set_item_property (v_it_id, navigable, property_true);
    set_item_property (v_it_id, updateable, property_true);
    if get_item_property (p_field_name, item_type) <> 'RADIO GROUP' then
    set_item_property (v_it_id, queryable, property_true);
    end if;
    if p_flag = 'EM' then
    set_item_property (v_it_id, visual_attribute, 'MANDATORY_ATTR');
    if get_item_property (p_field_name, item_type) = 'LIST' then
    set_item_property (v_it_id, required, property_true);
    end if;
    elsif p_flag = 'EN' then
    set_item_property (v_it_id, visual_attribute, 'NON_MANDATORY_ATTR');
    if get_item_property (p_field_name, item_type) = 'LIST' then
    set_item_property (v_it_id, required, property_false);
    end if;
    end if;
    end if;
    end if;
    end if;
    else
    rp_err ('3','19', p_field_name || ' Field Name ');
    end if;
    end if;
    end;
    Regards
    Nagaraj

  • Source data for Record Group

    Hello,
    I am very new to Oracle Forms and have been tasked with pointing some forms we have to a new server and adding a couple of columns to come areas. Everything was going ok until I got to a the point where I have to add a new column to an area on a form. The forms are pointing to the new tables and the searches are working, or at least seem to be working. How can I tell the data source for a data group? I checked properties for the record group (RECORD_STATISTICS) that populates a certain area on a form and it has query selected as the record group type but there is no query showing. I added the column needed to the column specifications list but it does not show up when I run the form. There is a spot for it because the extra hyphen is there.
    Here is the code that populates the fields on the form. The field I added is the ahs_site column. As mentioned earlier I added that field to the RECORD_STATISTICS data group as well as to all the procedures I can find but am missing something..
    DECLARE
    htree ITEM;
    num_selected NUMBER;
    current_node FTREE.NODE;
    v_note_value number;
    v_node_depth number;
         total_rows number;
    group_id          RecordGroup;
    v_selection_count NUMBER;
    BEGIN
    -- Find the tree itself.
    htree := Find_Item('BLOCK_STATISTICS_TREE.TREE_ITEM_STAT');
    v_selection_count := Ftree.GET_TREE_PROPERTY(htree, Ftree.SELECTION_COUNT);
    IF v_selection_count>0 THEN
              v_note_value := Ftree.Get_Tree_Node_Property(htree, :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE);
              IF v_note_value IS NOT NULL THEN
                   group_id := Find_Group('RECORD_STATISTICS');
                   total_rows := Get_Group_Row_Count(group_id);
              v_node_depth := to_number(Get_Group_Number_Cell('RECORD_STATISTICS.NODE_DEPTH', v_note_value));
              -- :BLOCK_BUDGET_PARAMETER.DI_SELECTED2 := v_node_depth;
                   GO_BLOCK('BLOCK_STATISTICS_DETAIL');
                   CLEAR_BLOCK;
                   FOR i in v_note_value..total_rows LOOP
                        IF v_node_depth=4 THEN
                             :BLOCK_STATISTICS_DETAIL.DI_TEMPLATE_SEQ := Get_Group_Number_Cell('RECORD_STATISTICS.NODE_SEQ', v_note_value);
                             :BLOCK_STATISTICS_DETAIL.DI_DESCRIPTION := Get_Group_Number_Cell('RECORD_STATISTICS.SITE', v_note_value)
                             || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.AHS_SITE',v_note_value)
                                                                                                                            || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.PRIMARY_CD', v_note_value)
                                                                                                                            || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.SECONDARY_CD', v_note_value)
                                                                                                                            || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.SECONDARY_CD_DESC', v_note_value);
                             :BLOCK_STATISTICS_DETAIL.DI_YR_AND_MNTH := Get_Group_Number_Cell('RECORD_STATISTICS.YR_AND_MNTH', v_note_value);
                             :BLOCK_STATISTICS_DETAIL.TI_QUANTITY_STAT := Get_Group_Number_Cell('RECORD_STATISTICS.QUANTITY', v_note_value);
                        ELSE
                             IF Get_Group_Char_Cell('RECORD_STATISTICS.LEAF_NODE', i)='Y'
                                  AND v_node_depth < to_number(Get_Group_Number_Cell('RECORD_STATISTICS.NODE_DEPTH', i)) THEN
                                  :BLOCK_STATISTICS_DETAIL.DI_TEMPLATE_SEQ := Get_Group_Number_Cell('RECORD_STATISTICS.NODE_SEQ', i);
                                  :BLOCK_STATISTICS_DETAIL.DI_DESCRIPTION := Get_Group_Number_Cell('RECORD_STATISTICS.SITE', i)
                                  || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.AHS_SITE',i)
                                                                                                                                 || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.PRIMARY_CD', i)
                                                                                                                                 || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.SECONDARY_CD', i)
                                                                                                                            || ' - '|| Get_Group_Char_Cell('RECORD_STATISTICS.SECONDARY_CD_DESC', i);
                                  :BLOCK_STATISTICS_DETAIL.DI_YR_AND_MNTH := Get_Group_Number_Cell('RECORD_STATISTICS.YR_AND_MNTH', i);
                                  :BLOCK_STATISTICS_DETAIL.TI_QUANTITY_STAT := Get_Group_Number_Cell('RECORD_STATISTICS.QUANTITY', i);
                                  Next_record;
                             ELSIF v_note_value<>i AND v_node_depth = to_number(Get_Group_Number_Cell('RECORD_STATISTICS.NODE_DEPTH', i)) THEN
                                  EXIT;
                             END IF;
                        END IF;
                   END LOOP;
                   First_record;
         END IF;
         END IF;
    END;
    Hope that made sense. I do not understand how data flows through forms just yet or how to phrase my question in terms that understandable. I do have some screen shots I could send anyone willing to help.
    Thank you.

    Adding a column to column specification does nothing.
    First of all, check the record group query in record group properties:
    1) In forms builder object tree find that record group, right-click > property palette.
    2) Look for property (just cann't remember exactly its name) where select query is specified.
    3) Add the column you need to the query. Column specification will refresh automatically.
    There is one more way to specify query for record group. Look for calls of POPULATE_GROUP_WITH_QUERY procedure in the form code.
    Forms 6i: menu program > find and replace pl/sql, Forms 10: edit > find and replace pl/sql. In the search field type POPULATE_GROUP_WITH_QUERY. Then see the results where your record group RECORD_STATISTIC is being populated programmatically. If no calls were found - the only data source is in record groups properties.

  • Query not accepted by Record Group

    Hi,
    The below mentioned query is running in oracle 3.3.4.0.0.(which i'm using in my work) and toad also but in forms 5.0 it is not accepting this query.when i enter this query in existing record group then it shows the error ' error frm-12001'
    -- cannot create the rcord group (check your query).I have declared the variable in forms
    Can someone pls tell me whats wrong with this sql query ?
    Select Aim_Item_Desc.
    From Lib_Annexure_Item_Master A,DEP_STATUS_MASTER b
    Where Aim_Type_Id = (Select Atm_Type_Id
    From Lib_Annexure_Type_Master
    Where Upper(Atm_Type_Desc) = 'CONSTITUTION')
    And (Upper(Aim_Item_Desc) in('TRUST','H U F','SOCIETY','PROPRIETORSHIP')
    And :Global.Fv_C_Des_Ind='P')
    Or ( Upper(Aim_Item_Desc) in ('Public limited company','Private limited company')
    And :Global.Fv_C_Des_Ind ='Q')
    Or (Upper(Aim_Item_Desc) ='PARTNERSHIP'
    And :Global.Fv_C_Des_Ind ='R')
    Or (Upper(Aim_Item_Desc) ='Individual'
    Or :Global.Fv_C_Des_Ind ='S');

    Gowtham1232 wrote:
    Hi,
    The below mentioned query is running in oracle 3.3.4.0.0.Seriously? Is there really a computer left that can run a version of oracle that old?
    (which i'm using in my work) and toad also but in forms 5.0 it is not accepting this query.when i enter this query in existing record group then it shows the error ' error frm-12001'
    As it's forms you may want to ask in the forms forum.

Maybe you are looking for

  • Acrobat Pro 7.0 form creation, email responses are blank

    I created a fill in form for email submission in Adobe Designer 7.0.  Some of the responses are coming back blank and some are coming back with the data.  What is the difference and how can I quickly correct this? Wendy Sheasley

  • IChat (version 3.1) continue to log off AIM - typical fix not working!

    I've noticed that others have this problem as well, and the common suggestion for fixing the issue is the following: First off, try changing the log-in port: 1 Log out of AIM (in iChat menu), then 2 iChat > preferences > accounts > server settings 3

  • UCCX Outbound Option - What needs to be configured besides UCCX Outbound config

    I'm trying to setup Outbound Option for UCCX 10.0. Unfortunately my knowledge in VoiceGateways isn't really deep. What I'm wondering is: 1) On progressive mode: Do I need to add some components (e.g. VGW) to CUCM first or is UCCX talking directly to

  • Message Bridge from MQ on Linux

    I am trying to set up a message bridge on Linux, using the same procedure I successfully used on Windows. I got the following error message:           <Warning> <Connector> <BEA-190032> << Weblogic Messaging Bridge Adapter (XA)_eis/jms/WLSConnectionF

  • FILO CONCEPT

    Is there any function module which can determine the first in and last out concept? if i have some n number of records in an internal table, differed by date and some other field(like card swipe in and out). now i have to take first swipe in and last