No records in Oracle9iDS Forms
Hi,
I've recently installed the Oracle9iDS...
When running the form with the CustomerDemo database (or any of the other databases for that matter) no records are displayed.
The CustomerDemo has at least 7 records in it ... my form only shows an empty record.
There is every indication that I am connected to the database, but I can't see the records.
Anyone have any ideas?
Hi Yaroslav,
What is your update profile (OF37)? Do you have entries to overwrite it in OF39? In your FI document, can you see FM assignment or not? If you want it to pass automatically from EMF, you should define it via S_KI4_55000122 transaction.
Regards,
Eli
Similar Messages
-
Delete record from the form and from the database
hi,
i want delete record from the form and the database ,but the record is only delete from the from !!!
this is my code :
if //condition then
delete_record;
commit;
end if ;
Any solutions ??
thnxYou have unique key field(s) on the table you are trying to insert which actually restricts you from inserting the same value again.
When you are deleting the record and issue commit there is a record to be inserted in the table which is a duplicate that's why you are getting this unique error.
As oracle is not able to insert your commit fails and stops your deletion of record from table -
How to run report to show all the records in the form view of Siebel 8.1.1
Hi.
My template has "for-each" section and there are more than 1 records in the form view. But when generating report, there is only one record in the report. Can anyone offers help? Thanks a lot.
Edited by: user11948585 on 2009-11-18 下午6:08Hi ,
Could you generate a sample XML from BIP Administrator for the IO on which report is based , and apply it to RTF and see if you are getting the desired values.
Thanks!! -
How can I display records dynamically in forms?
Hi Friends,
I want to display the number of records in the form dynamically. Suppose the back-end table is having only 5 records means it should display 5 records. If any new records is inserted later then it should show 6 records. It should display 10 records at a time with a scroll bar in case if a table is having more records.
The best example is Data Grid in VB. The same kind of mechanism I want to provide in my form. How can I do that?
Any suggestion would be greatly appreciated.
Thank You.
Gopinath Kona
nullWhy not have number or records displayed as the number that best fits the space and then if less come back the scrollbar is disabled, and if more come back the scrollbar is enabled?
-
Unable to update record in web Form
Hi, i am unable to update record in a form. I am building a custom form using forms 6i and putting it on the web in oracle applications 11.5.9
I used template.fmb as a starting point for my form. I have one datablock based on a table. Insert, update and delete properties are set to yes on the property pallete of data block. The table against which i am running the form has a primary key which is a combination of two fields. I am able to update a record with pure SQL running against the table.
My form now brings back a record from the db like it should but whenever I try to update that record either by pressing Action Save or by clicking button that has update statement in it, instead of doing an update, it does an insert and tells me that this record already exists and that i entered value(s) that must be unique for each record. It thinks I want to insert but I want to update. What am i doing wrong???
Update allowed value is set to Yes in all the items in the data block and at the data block level as well. Querly_only is set to no.
What's even more frustratinng is that I've ran the form manually before starting with template.fmb and have been able to update the table but when I put it on the web and used template.fmb it stopped working!
I am very new to forms, can anybody suggest anything? Please help!!!When you populate the 2nd block with a select into query, it's the same as just typing the data into the block. The record is treated as one needing to be inserted, not as one that is queried.
To populate it using a true query, but with data from the LOV, you can do this:
Programmatically set the default_where clause of the block based on the LOV. For example, if a name is chosen from the LOV in an item called LOV1, you could do:
set_block_property('block2','default_where','name='''||:block1.lov1||'''');
or if the LOV is a number, like a department number:
set_block_property('block2','default_where','deptno='||:block1.lov1);
The tricky part when you build your where clause is that you must surround strings with single quotes, and the way to do this is to use two single quotes to represent an actual single quote in the where clause. Otherwise a single quote is interpreted as part of the PL/SQL syntax.
Then, just navigate to block 2 and execute a query:
go_block('block2');
do_key('execute_query');
I hope this works for you. I didn't have time to test this, so I hope I didn't make any syntax errors when typing. -
How to delete a record in custom form
Hi,
I got a requirement,
If a form has 'n' records with start & end dates, such that start date of new record should be last record end date + 1.
Now if the user tries to delete a record between first and last record, it should allow him to delete but when he tries to save it should not allow.
Only way he can delete is either he can create a new record with the same dates or he can adjust remaining record dates such that startdate of new record should be last record end date + 1.
I'm running out of ideas, any suggestion is appreciated.Hi
it should allow him to delete but when he tries to save it should not allow.Play with the KEY-COMMIT Trigger Which is the Best i can see to STOP or PROCESS any Validations during the saving process according to the conditions u specify using...
RAISE FORM_TRIGGER_FAILURE;Prevents the user from Saving in KEY-COMMIT Trigger it's the yellow-black Floppy Disk u use for saving records in the Form's Tool Bar..
Hope this helps...
Regards,
Amatu Allah -
Triger for display next record in oracle forms
hai all,
i want to do
when new form opened i have to add new reord that is empty new form also my new rownum will be displayed.
now i getting first record.
like:
GROUP_ROWNUM: 1
GROUP_ID: 120130
GROUP_NAME aaaaaaaaa
need like:
GROUP_ROWNUM: 7
GROUP_ID:
GROUP_NAME
that can be done by
trigger for display next record in oracle forms?
or through property seting?
thanks in adv,
rcs
--------YES, this block is base on the DB table
through defualt navigational button i can go to next,last,new record
but i want create seperate form for new entry, in that i want to display
old rownum
formula to get rownum automatically (i am not at all typing it is system generated)
even though i created column group_rownum for rownum
(i can't be typing)
LAST_RECORD;
NEXT_RECORD; also not getting the next rownum
i hope now understand me
any posible way?
thank you for your good input
i.e.
SQL> DESC GROUP_MSTR1;
Name Null? Type
GROUP_ID NOT NULL NUMBER(10)
GROUP_NAME NOT NULL VARCHAR2(30)
SQL> select * from GROUP_MSTR1;
GROUP_ID GROUP_NAME
123 AAAAAA
124 BBBBBBBB
125 CCCCCCCCC
126 DDDDDDDD
1 eeeeeeee
2 FFFFFFFFF
3 ggggggg
7 rows selected.
SQL> select rownum, GROUP_ID, GROUP_NAME from GROUP_MSTR1;
ROWNUM GROUP_ID GROUP_NAME
1 123 AAAAAA
2 124 BBBBBBBB
3 125 CCCCCCCCC
4 126 DDDDDDDD
5 1 eeeeeeee
6 2 FFFFFFFFF
7 3 ggggggg
7 rows selected.
------------- -
Horizontal scroll bar is hiding last record in the form. Attached the screenshot which shows the issue.
Regards,
Venkat KIf this is a custom form, you will have to alter the design. If this is a seeded form, pl open an SR with Support
-
Set "current" or "active" record in multi-record Report or Form
Im trying to use HTML DB for the following:
Display a multi-record Report (or Form);
Mark one of the displayed records as "active" or "current", saving its PK/UK or rowid into a variable/field;
After that, select a function/process to be performed on or on the basis of this "active" record.
This is very similar to what is possible in 10g Grid Control, when, for example, you dislay (Administration/Tables) a list of tables (in a schema),
"select" one of the displayed tables, and then request, for example, to view the data in that table.
The question is, how do I define/attach the "Select" field (single-valued radio) to each of the displayed record in my multi-record Report or Form ??Im trying to use HTML DB for the following:
Display a multi-record Report (or Form);
Mark one of the displayed records as "active" or "current", saving its PK/UK or rowid into a variable/field;
After that, select a function/process to be performed on or on the basis of this "active" record.
This is very similar to what is possible in 10g Grid Control, when, for example, you dislay (Administration/Tables) a list of tables (in a schema),
"select" one of the displayed tables, and then request, for example, to view the data in that table.
The question is, how do I define/attach the "Select" field (single-valued radio) to each of the displayed record in my multi-record Report or Form ?? -
Scan through the records in the Form and display the message!
Hello Everyone,
We have a requirement, I do not know how to achieve it.
In a Forms 6i, 2 fields Type, Comment.
Type is a list of Values (1,2,3)
Comment - Free Text Field.
User can enter as much rows of data, but while user saves the data we have to validate that all the records of Same Type(Say 1). If not we have to display a Message.
So how to achieve this? How to scan through the records in the Form. Any comments on it would be great.
Thanks.User can enter as much rows of data, but while user saves the data we have to validate that all the records of Same Type(Say 1). If not we have to display a Message.I am assuming that you want to check from the first record. Suppose in first record the user coosed 1 and you will check for all the entries for 1.
Couple of ways to do this.
1. While user is entering first record. You can keep that selected type value in GLOBAL variable and while he is entering further records you can match type with that global variable. If it is not matching then you can display message.
2. On KEY-COMMIT trigger you can start loop from first record and can check for all the records one by one. Like.
DECLARE
vVal DATATYPE;
BEGIN
GO_BLOCK('BLOCK_NAME');
FIRST_RECORD;
vVal:=:FORM_TYPE_FIELD;
LOOP
IF vVal!=:FORM_TYPE_FIELD THEN
MESSAGE(..);
EXIT;
END IF;
EXIT WHEN :SYSTEM.LAST_RECORD='TRUE';
NEXT_RECORD;
END LOOP;
END;I would go for earlier approach and will use WHEN-VALIDATE-ITEM / PRE-INSERT for type field for this purpose. Because in KEY-COMMIT the system is doing same thing again.
-Ammad
Edited by: Ammad Ahmed on May 15, 2010 12:23 AM
changes not equal sign to != -
Cannot add new records through VC form when consuming IP write back query
I have created a planning application in IP and created a Form in VC (CE 7.1). I am not able to create new records in VC Form and save it back to the cube like the traditional excel form on IP does. I have attached a document with every step that i did as a screen shot in designing my model. The writing back of data using the Form works if i have preexisting data in the planning cube and if i am only changing the values of the existing data records it works great. I could consume the planning functions that i created and they work well within VC. But if i want to create new records in a empty planning cube it gives me error unlike planning in excel analyser lets me save it back to the cube. I have tested the same query in Excel Analyser and created new records and saved it back in the cube. Any help on this is greatly appreciated.
[http://www.mediafire.com/?sharekey=f1bc9aa662da6a86d956df2962098fcbe04e75f6e8ebb871]
Thanks.
Edited by: BI GUYS on Sep 28, 2009 2:00 PMHi PradeeP,
1. The BI Query itself has to support the entries of new lines. This is described in note 1149346.
However, if the Query allows entering new lines in the BEx Analyzer, then this prerequisite is fulfilled.
2. In the BI Query wizard in VC in the u201CChoose Presentationsu201D step, you have to include the key presentation for the characteristics.
If 1 and 2 are fulfilled and you still have the problem, it is strange...
Does the problem also occur if you create new records in a cube that already shows some data in the table view?
Regards,
Talia -
Updating multiple records from single form (ASP)
I have a nested repeat region.
I have created in the parent, a form with 3 fields and an update button.
the child records all have multiple columns, 3 of which correspond to the parent.
Athe parent is bound to the child records by the shipmentID
I need to be able to update all child records from the form in the parent.
The case is this.
The child records are orders with shipdates and frequencies
The parent contains a form with fields for shipdate and frequency
The administrator needs to change the shipdate and/or frequency for all child records.
(The child records are forms as well--but that's another issue that works fine)
Shipment ID
Date Field
Freq Field
UPDATE Button
ShipmentID
Record 1
Data case1
Date
ShipmentID
Record 2
Data case 2
Date
I am doing this in classic asp with an SQL database.
So how do I get the form to update all record
[Subject title edited by moderator to make clear ASP involved]Hi,
This is one of those questions that would require far more explanation that is reasonable to expect in a forum. You should do a little poking around in the nearest Barnes & Nobles. About a half hour in a chare with a good ASP book and vanilla latte should have you on the right track.
Lawrence *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF -
Can update detail record in browse form?
I have a browse form ,it's record do not to create or insert but update,and update only a few column such as change is_disabled to true/false,since then I want change records by click radio group or check box,is this can do?
I use Jdev9.03955268 wrote:
I have a simple APEX form based on a table with 2 columns with one column being a primary key.
When i create the APEX form based on my table it hides the primary key column. If I make it visible by changing it to a Text item from Hidden.
I am unable to update or insert a new record in the form. It gives me a MRU error.
I would like to know how can i create my APEX form with both the columns updateable and visible.You didn't provide any information about your apex version, so I assume the most current one (Apex. 4.1).
There you can run the form wizard using the ROWID of your table. If you use that, then the PK column can be filled out manually, just as any other item. -
How Can I Know All History Record For Any Form ??
How Can I Know All History Record And Updates About Any Form By User Names And Times Or What About Log Files ??
Duplicate post.
How Can I Know All History Record For Any Form ??
Re: How Can I Know All History Record For Any Form ?? -
Oracle9iDS Forms Developer JDAPI and XMLTOOLS Javadoc Missing
Oracle9iDS Forms Developer JDAPI and XMLTOOLS Javadoc ZIP file is missing. When you click on http://otn.oracle.com/documentation/9i_forms.html and scroll down to to Javadoc section, click on zip link moves you to http://otn.oracle.com/documentation/index.html which is wrong. Please take action and fix it!
Cheers,
Andrej ZabkarHi Andrej,
Thankyou for the feedback.
I have fixed the link, please try once again.
Regards,
Les
Maybe you are looking for
-
How to stop/deactivate CLC (Credit Limit Check) functionalities for specific country
Dear Experts, We are working in TM 8.1 which is integrated with ERP system. Currently we do not have any restriction at TM system level to stop processing the order if CLC limit is exceeding. But we are in process of adapting the same with TM 9.1 ver
-
Why will my I phone not connect with my IMac it pairs?
Why will my I Phone not connect with my IMAC it pairs?
-
Cannot Import in Aperture 2.1 - not a camera or connection problem
Ive tried 2 cameras, 3 different USB leads and every time Aperture 2.1 does not show the import path or the images on camera to import, Aperture shows an image of the camera top left & produces a blank grey box that appears every time the mouse is mo
-
Enable "Q Notifications" within a standard analysis screen
Hello Experts, We've got a dilemma where we've created an info structure in application #5 (Quality Management). It is populated with notification data and everything seems to be working fine. Our issue is that when you go to view the data through s
-
Adding a ASP Search to a Dreamweaver Site
I have just created a basic HTML website using Dreamweaver CS3. It is just a series of link pages with various documents on each page. I used a vertical Spry navigation menu. This is an intranet site for the company I work for and as such will reside