473,385 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Refer to block item using string

I have a form that has several check boxes defaulting to checked.
When the form loads, I have a cursor looping through a table that
stores the name of the check boxes that need to be unchecked. The
cursor will return the item's name into a varchar2 variable. I need
to know now how to use that varchar2 variable to refer to the
corresponding check box item and uncheck it. I have done something
similiar in VB but have not found a way to do this in pl sql.

Thank you in advance.

Nick
Jul 19 '05 #1
3 4022
you probably need to use the copy function or the set_*_property function

as i recall it's something like this:

copy( 'a value', 'an item name');

set_checkbox_property( 'cb item name', 'properry name', 'value')

againg, i'm going by memory -- it's been over a year so i may not quite have
the syntax just right
--
----------------------------------------
Mark C. Stock
www.enquery.com
(888) 512-2048

"Nick" <ni******@hotmail.com> wrote in message
news:2e*************************@posting.google.co m...
I have a form that has several check boxes defaulting to checked.
When the form loads, I have a cursor looping through a table that
stores the name of the check boxes that need to be unchecked. The
cursor will return the item's name into a varchar2 variable. I need
to know now how to use that varchar2 variable to refer to the
corresponding check box item and uncheck it. I have done something
similiar in VB but have not found a way to do this in pl sql.

Thank you in advance.

Nick

Jul 19 '05 #2
ok this gives me an idea. i can use the set_item_property built in
function to modify the initial value. but i can not seem to find the
correct property name for initial value. anyone know it?

thanks

"mcstock" <mc*****@enquery.com> wrote in message news:<kL********************@comcast.com>...
you probably need to use the copy function or the set_*_property function

as i recall it's something like this:

copy( 'a value', 'an item name');

set_checkbox_property( 'cb item name', 'properry name', 'value')

againg, i'm going by memory -- it's been over a year so i may not quite have
the syntax just right
--
----------------------------------------
Mark C. Stock
www.enquery.com
(888) 512-2048

"Nick" <ni******@hotmail.com> wrote in message
news:2e*************************@posting.google.co m...
I have a form that has several check boxes defaulting to checked.
When the form loads, I have a cursor looping through a table that
stores the name of the check boxes that need to be unchecked. The
cursor will return the item's name into a varchar2 variable. I need
to know now how to use that varchar2 variable to refer to the
corresponding check box item and uncheck it. I have done something
similiar in VB but have not found a way to do this in pl sql.

Thank you in advance.

Nick

Jul 19 '05 #3
check the on-line help under SET_ITEM_PROPERTY for the list of available
properties

"Nick" <ni******@hotmail.com> wrote in message
news:2e**************************@posting.google.c om...
ok this gives me an idea. i can use the set_item_property built in
function to modify the initial value. but i can not seem to find the
correct property name for initial value. anyone know it?

thanks

"mcstock" <mc*****@enquery.com> wrote in message

news:<kL********************@comcast.com>...
you probably need to use the copy function or the set_*_property function
as i recall it's something like this:

copy( 'a value', 'an item name');

set_checkbox_property( 'cb item name', 'properry name', 'value')

againg, i'm going by memory -- it's been over a year so i may not quite have the syntax just right
--
----------------------------------------
Mark C. Stock
www.enquery.com
(888) 512-2048

"Nick" <ni******@hotmail.com> wrote in message
news:2e*************************@posting.google.co m...
I have a form that has several check boxes defaulting to checked.
When the form loads, I have a cursor looping through a table that
stores the name of the check boxes that need to be unchecked. The
cursor will return the item's name into a varchar2 variable. I need
to know now how to use that varchar2 variable to refer to the
corresponding check box item and uncheck it. I have done something
similiar in VB but have not found a way to do this in pl sql.

Thank you in advance.

Nick

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Arno R | last post by:
Hi all, I have lots of properties in a class. (clsTest) Properties are created like (simplified ...) Public ItemA as string Public ItemB as string Public ItemC as string .... Public...
5
by: Alfonso Morra | last post by:
Hi, I am writing a messaging library which will allow me to send a generic message structure with custom "payloads". In many cases, a message must store a non-linear data structure (i.e....
3
by: z. f. | last post by:
Hi, i'm using code in my aspx page. i have data binding where i use <%# Container.DataItem("DateStart") %> i also use code that makes a loop inside a regular <% %> block how can i pass...
0
by: Aamir79 | last post by:
Hi all, I'm using Microsoft Applications cache block in my web application. It worked fine for sometime then suddenly it is raising the following error: Message: "Can't validate the current...
4
by: nelsonchang | last post by:
Dear all, I wrote the VB code in a "button press event" as below in which is retrieve data from SQL server and insert the data into Excel. After that, I would call Excel "subtotal" API to build a...
3
by: sista via DotNetMonster.com | last post by:
hi.. just wondering what does this error means? here's my vb code: Imports System.Web.Security Imports System.Data Imports System.Data.OleDb Public Class dpitem Inherits System.Web.UI.Page
7
by: SparkPlug | last post by:
Does anyone know why I might be getting an XmlSchemaException in App.config configured as below to use the UIP Application Block? I get the following error for every element, sub-element and...
5
by: Al G | last post by:
Hi, I'm converting a bit of POP3 VB6 code to VB2005, and have run into this error with the following code. Can someone help me find out what I'm missing/doing wrong? 'holds the attachments...
3
by: Nick | last post by:
I have a form that has several check boxes defaulting to checked. When the form loads, I have a cursor looping through a table that stores the name of the check boxes that need to be unchecked. ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.