Forms :: Treeview With Images And Checkboxes With OLE Container?

Jun 4, 2009

I have an issue with an OLE-Container (ITreeView).

I have already a form with the treeview (database no necessary) with some nodes added manually.

All this nodes have checkbox and style properties, drag and drop (drag automatic and drop manual).

I added also to the form an OLE-Container for the listImage and put into the container the images that i need.

I put checked the father and when it is true then a variable into the declaration of the check of the childrens change and the child nodes are checked too, but when i do it manually nothing happened.

What I want to do is the next thing: I want to be able to drag and drop in every place of my tree to change the positition between the nodes of the node father and to change it also with childnodes of other parent. To Put an Image next to each node (how to call the images that are inside of my imagelist) When I checked the parent then check all the child nodes of it.

View 22 Replies


ADVERTISEMENT

Forms :: Microsoft TreeView Control 6.0

Mar 13, 2009

I'd like to implement a treeview control with checkboxes in every node using Microsoft TreeView Control 6.0 in Forms 6i. I already did the following steps:

1. Download and register OCX (regsvr32 C:windowssystem32comctl32.ocx)
2. Draw OCX control on form.
3. Right click on OCX control and Insert Object "Microsoft TreeView Control 6.0"
4. Import OLE Library Interfaces "MSComctlLib.TreeCtrl.2"
5. Set Data Block Single Record to YES
6. Set OLE Class of Listview control to "MSComctlLib.TreeCtrl.2"
7. Rename treeview control to "ACX_TREE" and Data Block to "BLK_CONTROLS"

Now I need to populate the treeview adding code to the "WHEN_NEW_FORM_INSTANCE" Trigger, but I don't see how. how to do this and/or a place where I can find a working example?

View 4 Replies View Related

Forms :: Export Files From OLE Container

Jun 15, 2010

how do I export files ole container forms forms 6i to 10g? OLE container I keep in the database in a BLOB field.

I want to watch it in Forms 10g using WEBUTIL or export to disk.

View 2 Replies View Related

Forms :: Deselect All Checkboxes Except The One Which Has Been Selected

Jun 30, 2009

I have multi record block and a select checkbox in that block. My requirement is whenever I select any checkbox all other checkboxes should get deselected except the one which I have selected just now.

Example: I started from first item (checkbox).

I select first checkbox and when I will select second checkbox, then 2nd should get checked but all other checkboxes should get unchecked.

View 8 Replies View Related

Forms :: Enabling All Checkboxes When Block Is Loaded

Dec 6, 2012

My requirement is as below,

I have one main form and there is one button when i click on it, another form should be opened which should display multi records with check box for each record.

I have implemented so far. When the new form is opened by default all the records should be checked. if user does not want some of them then it can be unchecked(This can done manually)..

I have put below code in when-new-block instance trigger

set_item_property('LOCKBOX_DETAILS.CB_SUBMIT', ENABLED, PROPERTY_TRUE);

Unable to load the block with all the records checkboxes checked.

View 4 Replies View Related

Forms :: Navigating Using Images

Jun 6, 2010

i am developing aroom room booking system using forms developer and oracle 9i.

i have used images to show that the room are booked vacant vaccant if the room is booked then a red colored image is displayed else a green colored image is displayed. I have done it retrieving retreving the rows of the transaction table in a cursor. the cursor is written on a trigger (when button pressed).

now i want that if the green colored image is displayed then if the user clicks on that image it should move to the booking form else should display messaage messaage the room is already booked.

View 2 Replies View Related

Forms :: How To Count Checked Checkboxes Along With Their Checked And Unchecked Condition

Nov 1, 2012

i want to count how many check boxes are chechked and if the check box is unchecked the count will decrease as soon as checkbox is check or uncheck.the number of chech boxes are depentdent on record set that are fetched from database.

View 2 Replies View Related

Forms :: How To Open Tiff Images

Apr 18, 2011

I have a folder "c:Images" which has around 5 image files they all are Tiff Images. now from forms i want to open this images one by one.

example:

file 1: SIGN.TIFF
file 2: FORM.TIFF
file 3: FORM_1.TIFF
File 4: FORM_2.TIFF
File 5: PHOTO.TIFF

I have the form and in that I have only one Image Item and two buttons with name "Previous" & "Next"

Action to be Done:

-> Initially when i start form SIGN.TIFF has to open.
-> when i press next FORM.TIFF has to be replaced with SIGN.TIFF
so on...

Note: There is a chance of keeping 10 more files.

How can this be achieved in forms.

View 2 Replies View Related

Forms :: Save Images In Database From 6i

Mar 16, 2006

I have seen many times that people are confused for how to save and retrieve images in Oracle Database from forms. Here I have created a sample form. All the coding is there. And also required scripts are also written in this post. Please download the form create the scripts and run the form.

Here we go:
Database : 9i
Forms : 6i
Create Scripts:

CREATE TABLE DOCS_COMP_DOCUMENTS
(
DOC_ID VARCHAR2(10),
DOC_NAME VARCHAR2(100),
DOC_SCANNED_COPY LONG RAW,
FILE_NAME VARCHAR2(50),
FILE_EXTENSION VARCHAR2(3)
)
[code].......

Note: This Procedure is to find the file name and extension and store it as well in database. Create this procedure in database.

To retrieve images just press F7 & F8 in forms

Download the attached .fmb module and run it.

View 39 Replies View Related

Forms :: Why 10g Images Blur On Run Time

May 4, 2010

I've created a form in 6i that contains many images of type .bmp & gif as i run the form all pictures show clearly.

I upgrading the same form to 10g, as i'm running the form, all images appear blur !!!

View 2 Replies View Related

Forms :: Retrieving Images From File System

Sep 15, 2010

I am trying to retrieve images from the file system, but the open dialog box is not popping up for me to choose which file i want. It does nothing gives no error. Just says record 1/1 on the message bar at runtime.

I have two blocks on the module. One is the lobs_table block and the other is the control block. On the control block i have a when-button-pressed trigger on an item. And here is the code below.

Declare
jpg_image_dir VARCHAR2(100) := 'C:UsersajayiaDesktopMe_pics';
photo_filename VARCHAR2(100);
BEGIN
:System.Message_Level := '25';
[code]......

I don't know the code to use to get forms to bring up the open dialog box.

View 1 Replies View Related

Forms :: Load Images From Client PC To Form?

Mar 1, 2012

how may I load pictures from Client PC into my form (built in Forms 10g) running on Application Server.I've already configured Webutil package.

View 6 Replies View Related

Forms :: Code To Store Images Inside Database

Jan 11, 2011

//To load an image from the Hard Disk
//Level : Item
//Type : Trigger
//Name : When Button Pressed
Declare
[code]......

Now what should be the code to store this image from the image box inside the database? I done a lot of time with Oracle Data Base 11g with the Form Builder 6i and 10g but all in vain . No image store inside the database but browse button work well.

View 10 Replies View Related

Forms :: Inserting / Retrieving Images In Oracle Database 10g

Mar 12, 2010

how can i insert a image by selecting an image from any drives of my system to oracle database and retriving that image for displaying purpose after inserting that image. if possible give me a sample form. like vb 6.0 or vb.net in textbox's change trigger fires instantly when we start typeing in the text boxes.

View 6 Replies View Related

Forms :: Getting Error At Compilation Time / To Insert Images Into Table

Oct 3, 2011

I am getting error at compilation time. I want to insert images into table. The code is

declare
f_lob bfile;
b_lob blob;
begin
INSERT INTO imag VALUES(empty_blob())
return img INTO b_lob;
f_lob := bfilename( 'PIC', 'DESERT.JPG' );
dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
dbms_lob.loadfromfile( b_lob, f_lob, dbms_lob.getlength(f_lob) );
dbms_lob.fileclose(f_lob);
end;

errors are
[code]

View 1 Replies View Related

Oracle 12c - Container And Pluggable DB Config

Oct 19, 2012

We've all heard the news about the new 12c capability to have a container database hosting multiple pluggable database instances.

This obviously will provide significant reduction in overhead on systems (like Exadata) where we'd like to host multiple databases, but can't consolidate them due to conflicts that prevent them running under the same instance (public synonyms / dblinks, schema name collision, etc). Not to mention the effort required to get different application databases to co-exist on the same DB instance ... which in and of itself can be a major project.

My question - does the container database need to have the same character set as the pluggable databases?

If not, this still presents a limitation, as there are numerous vendors of COTS applications that don't (or won't) support ALT32UTF8, which is what we're building all our bespoke applications on.

View 3 Replies View Related

How To Determinate Oracle 12C Is A Container Database Or Not

Jul 15, 2013

How to determinate connected 12C is a container database or not? 

View 6 Replies View Related

Add Checkboxes To A Report?

Dec 18, 2012

I have a simple classic report, it returns all 4 columns from a table. I need to be able to save the values of 2 of the columns from certain records from this report into another table. My supervisor wants me to add a checkbox to each row so that one or more records can be selected and the values of the 2 columns can be added into this second table.

View 6 Replies View Related

Checkboxes In A Report

Mar 25, 2013

i have a table called "Employees" and based on that i have a report. When i select one of the employees, i created a report that shows all the inventory that that employee has. The source for report is this:

select
apex_item.checkbox(1,assetid,'UNCHECKED') " ",
apex_item.text(2,asset_tag) "Asset tag",
apex_item.text(3,shortdescription) "Short description",
apex_item.text(4,serial_number) "Serial number",
apex_item.text(5,service_tag) "Service tag"
from products
where id=:p26_id
[code]....

So all it suppose to do is to take whatever records I check from my initial report and to insert those records in a dummy table which i can use later.It's a bit obvious what's my mistake (if I select any 3 records in report, it will copy in the dummy table the first 3 records from my report).

View 1 Replies View Related

Application Express :: Button With Pre-element Text Is Given A Container Div?

Aug 8, 2013

Just installed 4.2.2.00.09 and imported a workspace and an application. Worked fine.I noted a page display difference when compared to the exported application (4.1.0.00.32). I have (so far) found this:If I have a button with Pre Element Text set to <div class="dummy"> and Post Element Text set to </div>, Apex generates an extra div around it all.If my button was named P1_SUBMIT I end up with 

<div id="P1_SUBMIT_CONTAINER">
<div class="dummy"> <input type="button" value="Search" id="P1_SUBMIT" /></div>
</div> 

Is it possible for me to turn this extra div off?

View 0 Replies View Related

Application Express Listener :: Standalone Vs Deploy To J2EE Container

Jan 16, 2013

I planing use latest APEX listener and Apache with mod_jk on new server.I wonder what are pros and cons use APEX listener standalone comparing when deployed to J2EE container e.g. Glassfish? URL.....

View 4 Replies View Related

Application Express :: Looping Checkboxes

Jun 15, 2012

How can I loop through unchecked checkboxes using this construction: FOR i IN 1 .. apex_application.g_f01.COUNT (its for checked)

View 5 Replies View Related

Application Express :: Deselecting All Checkboxes In Tabular Form

Nov 8, 2012

I am using Apex 4.2 with Oracle 11g

I have a requirement where I need to create a tabular form with a check box column. I created one using Apex_item.checkbox() function.

I have a button, when clicked it has to deselect all the checkboxes. I know I can use javascript onclick function and call a javascript. But I dont know how to use the javascript for a tabular form.

View 0 Replies View Related

SQL & PL/SQL :: Inserting Images Into Database

Dec 22, 2011

how to insert images into a table or database..i had created a column with BLOB datatype inside a table.

View 1 Replies View Related

SQL & PL/SQL :: Storing Images In A Table

Mar 22, 2011

I am trying to store an image in a table. What is the easiest way to do this?

View 8 Replies View Related

SQL & PL/SQL :: How To Store Images In Table Column

Dec 21, 2011

How to store images in table column. I have table called emp with datatype empno,name,photo_id(long raw)
.
i want to store image in table for each record.

View 3 Replies View Related

SQL & PL/SQL :: Moving Images From Server To Oracle Database?

Jun 28, 2011

I have a problem(illega use of LONG) while moving image data from SQL Server 2005 database to Oracle10G table in BLOB.

insert into table
select [[mailto:.....tablename@odbc SQL|.....tablename@odbc_SQL]]

I am using HS connection and DBLink.

View 10 Replies View Related

SQL & PL/SQL :: Can Oracle Database Function Return Images

Dec 12, 2012

Can a Oracle Function return Images? I have been getting and able to read lot of solutions but still unconfirmed. As in certain forums it has been mentioned that the difference between procedure and function is that. With procedures you are able to return images but not with function.

View 1 Replies View Related

Reports & Discoverer :: Bad Images Cause Report To Crash

Aug 26, 2013

We have a report that is using a blob and in that blob is a text string that is in base64. The text string is converted into an image via a function that is a java class. The function works well when executed from SQL Developer, PL/SQL Developer, and other tools either good or bad image.

The problem is that in the reports it crash if the image is bad (no error message). In the report how do I make an exemption if the image is bad to just return null? This way the report does not crash.

View 3 Replies View Related

Performance Tuning :: Tiff Images And Oracle

Oct 31, 2013

We are re-designing our App and we have a critical question, what's the best way (in terms of performance) of using TIFF images (about 20K size) with Oracle.

Currently we have a Windows shared file server and we create the tiff images there under a huge directory structure (like /images/ddddmmyy/aa/bb/001, then /images/ddddmmyy/aa/bb/002, etc, etc). Our database is usually in LINUX version 10, 11 or 12. We create about 200,000 images per day, keep them for 60 days and then remove that structure.

Our Web app (developed with .NET) reads those images just to display them on a Web Session (IE).As you can see, what we are doing now works fine. But network sometimes is an issue and also it's hard to keep synchronization with our DR server, backups, etc.

Are we taking the correct approach? It would be better to have the images in CLOB or BLOBS for better performance? If so, As I mentioned, performance is the KEY FACTOR and the most important item to consider in this design.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved