Display multiple records based on checkbox selection
Hi - I have a cfm page that displays all the employees in the
company (select * from employee). I have a checkbox next to each
one of the employee name. I want the users to be able to select the
checkbox and view phone number of selected employees (select
phone_number from employee where emp_id = 12, 15, 18, 20, 31) I
know I'll have to use some kind of loop to pick these employees and
display ... but I don't know how to write that loop ... can
somebody please help!
- Amber
The code below should help you out.
Similar Messages
-
Please Help! Deleting multiple record by using checkbox selected
Hello everybody,
I am a new to JSP. I really don't know how to delete multiple record by using checkbox selected and pressing submit button.
For example, deleting webmailbox letters using checkbox selected and delete button. The mail we checked will delete from the inbox.
I like to use my user account deleting system of my project like above example.
How can I do in JSP? I will very please you if you share you knowledge and code for me.
If you have URL address, could you share me for reference?
Please help me...
With Thanks and Regards,
wtdahlTake a look at this thread, I thing it answers your question quite good:
http://forum.java.sun.com/thread.jsp?thread=516658&forum=45&message=2463505 -
Display multiple records in forms 6i
hi every body
will anybody plz tell me how to display multiple records in tabular view of forms 6i.for example say i have a field in a block of a form.and i have to display multiple records in another block in the same form depending upon the value of the mentioned field in the above block.
will anybody help me??Why are you manually populating your data block when Oracle Forms will do this for you? Oracle Forms is tightly integrated with the Oracle Database. You should just base your Forms data block on the ISSUED table. Then you can filter the records displayed by setting the WHERE Clause property to ID = :BLOCK1.ID or you can dynamically set it with code using the SET_BLOCK_PROPERTY('BLOCK_NAME',DEFAULT_WHERE,'ID = :BLOCK.ID') built-in.
Then, the only code you would need in your Button's When-Button-Pressed trigger would be:
BEGIN
GO_BLOCK('BLOCK2');
EXECUTE_QUERY;
END;This is the point of InoL's reply. When a Form is based on a table, you can use the "Enter Query" and "Execute Query" built-in features to query and display records.
Sounds like you might be new to Oracle Forms development. If that is the case, you might want to go through a few Forms Tutorials to learn what Forms can do for you. ;) Just search the internet for "Oracle Forms Tutorials" and you will find many!
Craig... -
Splitting the single record into multiple records based on validity
Hi Guru's,
basically i am an BI consultant with less knowledge on ABAP, can i request your help on the ABAP task.
I am working on HR module which is integrated with SAP BI, the reports will be executed based on calendar month the requirement is i should split the single record into a multiple records based on validity of the record. basically the HR data would be in data from and date to.
below is the logic
Check whether the start and end date of the record are in the same month and year.
If yes nothing changes
If no create multiple records
1st record original start date of the record u2018till end of that month
Following record 1st of the next month u2018till last day of the month
u2026
Last record 1st of the month u2018till original end date.
All fields will have the same values, only the datefrom and dateto fields change.
Can any one please provide me the same code to proceed on my task.
Thanks and Regards,
VenkatHi,
Using Rule group we can split it.
Using Rule Group in SAP-BI Part - 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20rule%20group%20in%20sap-bi%20%20part%20-%201.pdf
Thanks
Reddy -
Display panel header based on radio selection
hi i have a stiuation where i what to display panel header based on radio button selection for example if the value of radio is DSO it must dispaly all under <af:panelHeader,am in jdeveloper 11.1.1.6.0
i have this radio
<af:selectOneRadio value="#{bindings.Paymenttype.inputValue}"
label="#{bindings.Paymenttype.label}"
required="#{bindings.Paymenttype.hints.mandatory}"
shortDesc="#{bindings.Paymenttype.hints.tooltip}"
id="sor1" autoSubmit="true"
binding="#{pageFlowScope.addMember.dpayment}">
<f:selectItems value="#{bindings.Paymenttype.items}"
id="si10"/>
</af:selectOneRadio>
and my panel header is
<af:panelHeader text="Bank Details" id="ph6"
visible="#{bindings.Paymenttype.inputValue eq "DRO"}"
partialTriggers="sor1"
inlineStyle="width:556px; border-color:Blue; border-style:ridge;">Edited by: adf009 on 2013/02/21 2:44 PM
Edited by: adf009 on 2013/02/21 2:48 PM
Edited by: adf009 on 2013/02/21 2:56 PMi have try that but it does not display panel header based on radio selection
<af:selectOneRadio value="#{bindings.Paymenttype.inputValue}"
label="#{bindings.Paymenttype.label}"
shortDesc="#{bindings.Paymenttype.hints.tooltip}"
id="sor1" autoSubmit="true"
binding="#{pageFlowScope.addMember.dpayment}"
immediate="true">
<f:selectItems value="#{bindings.Paymenttype.items}"
id="si10"/>
</af:selectOneRadio>
<af:panelFormLayout id="pfl7" labelAlignment="start">
<af:inputText value="#{bindings.Accounthldr.inputValue}"
label="#{bindings.Accounthldr.hints.label}"
required="#{bindings.Accounthldr.hints.mandatory}"
columns="20"
maximumLength="#{bindings.Accounthldr.hints.precision}"
shortDesc="#{bindings.Accounthldr.hints.tooltip}"
id="it22"
visible='#{bindings.Paymenttype.inputValue eq "DRO"}'>
<f:validator binding="#{bindings.Accounthldr.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Bankaccountnumber.inputValue}"
label="#{bindings.Bankaccountnumber.hints.label}"
required="#{bindings.Bankaccountnumber.hints.mandatory}"
columns="20"
maximumLength="#{bindings.Bankaccountnumber.hints.precision}"
shortDesc="#{bindings.Bankaccountnumber.hints.tooltip}"
id="it20"
visible='#{bindings.Paymenttype.inputValue eq "DRO"}'>
<f:validator binding="#{bindings.Bankaccountnumber.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Bankaccountnumber.format}"/>
</af:inputText>
<af:selectOneChoice value="#{bindings.Bankaccounttype.inputValue}"
label="#{bindings.Bankaccounttype.label}"
required="#{bindings.Bankaccounttype.hints.mandatory}"
shortDesc="#{bindings.Bankaccounttype.hints.tooltip}"
id="soc12"
visible='#{bindings.Paymenttype.inputValue eq "DRO"}'>
<f:selectItems value="#{bindings.Bankaccounttype.items}"
id="si13"/>
</af:selectOneChoice>
<af:selectOneChoice value="#{bindings.Bankname.inputValue}"
label="#{bindings.Bankname.label}"
required="#{bindings.Bankname.hints.mandatory}"
shortDesc="#{bindings.Bankname.hints.tooltip}"
id="soc13"
visible="#{bindings.Paymenttype.inputValue eq "DRO"}">
<f:selectItems value="#{bindings.Bankname.items}"
id="si14"/>
</af:selectOneChoice>
<af:inputText value="#{bindings.Branchcode.inputValue}"
label="#{bindings.Branchcode.hints.label}"
required="#{bindings.Branchcode.hints.mandatory}"
columns="20"
maximumLength="#{bindings.Branchcode.hints.precision}"
visible="#{bindings.Paymenttype.inputValue=="DRO"}"
shortDesc="#{bindings.Branchcode.hints.tooltip}"
partialTriggers="branchnameId" id="it19">
<f:validator binding="#{bindings.Branchcode.validator}"/>
</af:inputText>
<af:inputComboboxListOfValues id="inputComboboxListOfValues1"
popupTitle="Search and Select: #{bindings.Branchname.hints.label}"
value="#{bindings.Branchname.inputValue}"
label="#{bindings.Branchname.hints.label}"
model="#{bindings.Branchname.listOfValuesModel}"
required="#{bindings.Branchname.hints.mandatory}"
visible="#{bindings.Paymenttype.inputValue=="DRO"}"
columns="#{bindings.Branchname.hints.displayWidth}"
shortDesc="#{bindings.Branchname.hints.tooltip}">
<f:validator binding="#{bindings.Branchname.validator}"/>
</af:inputComboboxListOfValues>
<af:inputText value="#{bindings.Paymenttype1.inputValue}"
label="#{bindings.Paymenttype1.hints.label}"
required="#{bindings.Paymenttype1.hints.mandatory}"
columns="#{bindings.Paymenttype1.hints.displayWidth}"
visible="#{bindings.Paymenttype.inputValue=="DRO"}"
maximumLength="#{bindings.Paymenttype1.hints.precision}"
shortDesc="#{bindings.Paymenttype1.hints.tooltip}"
id="it21">
<f:validator binding="#{bindings.Paymenttype1.validator}"/>
</af:inputText>
</af:panelFormLayout>
</af:panelFormLayout>
<af:panelHeader text="Bank Details" id="ph6"
visible="#{bindings.Paymenttype.inputValue eq "DRO"}"
partialTriggers="sor1"
inlineStyle="width:556px; border-color:Blue; border-style:ridge;">
<f:facet name="context"/>
<f:facet name="menuBar"/>
<f:facet name="toolbar"/>
<f:facet name="legend"/>
<f:facet name="info"/>
<af:panelFormLayout id="pfl6"
visible="#{bindings.Paymenttype.inputValue eq "DRO"}"
partialTriggers="sor1"
inlineStyle="width:550px; border-color:Blue; border-style:ridge;">
<af:inputText value="#{bindings.Accounthldr.inputValue}"
label="Account Holder Name"
required="#{bindings.Accounthldr.hints.mandatory}"
columns="#{bindings.Accounthldr.hints.displayWidth}"
maximumLength="#{bindings.Accounthldr.hints.precision}"
shortDesc="#{bindings.Accounthldr.hints.tooltip}"
id="it14" partialTriggers="sor1">
<f:validator binding="#{bindings.Accounthldr.validator}"/>
</af:inputText>
<af:selectOneChoice value="#{bindings.Bankname.inputValue}"
label="Bank"
required="#{bindings.Bankname.hints.mandatory}"
shortDesc="#{bindings.Bankname.hints.tooltip}"
id="soc11" partialTriggers="sor1"
immediate="true"
contentStyle="width:190px;">
<f:selectItems value="#{bindings.Bankname.items}"
id="si11"/>
</af:selectOneChoice>
<af:inputText value="#{bindings.Bankaccountnumber.inputValue}"
label="Account Number"
required="#{bindings.Bankaccountnumber.hints.mandatory}"
columns="#{bindings.Bankaccountnumber.hints.displayWidth}"
maximumLength="#{bindings.Bankaccountnumber.hints.precision}"
shortDesc="#{bindings.Bankaccountnumber.hints.tooltip}"
id="it16" partialTriggers="sor1">
<f:validator binding="#{bindings.Bankaccountnumber.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.Bankaccountnumber.format}"/>
</af:inputText>
<af:selectOneChoice value="#{bindings.Bankaccounttype.inputValue}"
label="Account Type"
required="#{bindings.Bankaccounttype.hints.mandatory}"
shortDesc="#{bindings.Bankaccounttype.hints.tooltip}"
id="soc10" partialTriggers="si10"
contentStyle="width:190px;">
<f:selectItems value="#{bindings.Bankaccounttype.items}"
id="si12"/>
</af:selectOneChoice>
<af:inputComboboxListOfValues id="branchnameId"
popupTitle="Search and Select: #{bindings.Branchname.hints.label}"
value="#{bindings.Branchname.inputValue}"
label="Branch Name"
model="#{bindings.Branchname.listOfValuesModel}"
required="#{bindings.Branchname.hints.mandatory}"
columns="20"
shortDesc="#{bindings.Branchname.hints.tooltip}"
partialTriggers="sor1"
autoSubmit="true">
<f:validator binding="#{bindings.Branchname.validator}"/>
</af:inputComboboxListOfValues>
<af:inputText value="#{bindings.Branchcode.inputValue}"
label="Branch Code"
required="#{bindings.Branchcode.hints.mandatory}"
columns="#{bindings.Branchcode.hints.displayWidth}"
maximumLength="#{bindings.Branchcode.hints.precision}"
shortDesc="#{bindings.Branchcode.hints.tooltip}"
partialTriggers="branchnameId" id="it18">
<f:validator binding="#{bindings.Branchcode.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.Debitorderdate.inputValue}"
label="Date"
required="#{bindings.Debitorderdate.hints.mandatory}"
columns="#{bindings.Debitorderdate.hints.displayWidth}"
maximumLength="#{bindings.Debitorderdate.hints.precision}"
shortDesc="#{bindings.Debitorderdate.hints.tooltip}"
id="it17" partialTriggers="sor1">
<f:validator binding="#{bindings.Debitorderdate.validator}"/>
</af:inputText>
</af:panelFormLayout>
</af:panelHeader>this values are on the same VO
Edited by: adf009 on 2013/02/21 5:23 PM -
How to create Form based on a table to display multiple record
Hello All,
Would somebody please tell me how to create a Form based on a single table ,
to view and insert multi record based on a single table.In other words I would like
to have a form as shown below ,where the users can Insert,update,delete,query and so on
Item Id PArt Number List Price
100 Item-1 $120.oo
200 Item-2 $150.00
300 Item-3 $50.00
I know I can do it as Single Record block using Tabular Format,but multiple record ?????
Thanks in Anticipation
BabuTry this method,
1. Creat a Master Detail Form (Custom Layout and not tabular)
and in the master block select one field.
2. In the HTML layout for master remove the reference for
that field(so that nothing will appear in the master block
of the form).
3. Before the update (in the Pl/SQL event handler select the 'Save' event and write the following code to avoid updating master block).
p_session.set_value(p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'MASTER_ACTION',
p_value => 'None');
doSave;
For eg, let's say
Master is from 'Dept' table and Detail is from 'Emp' table(with join condition Dept.dept_id = Emp.dept_id). In the master remove everything except dept_id field and in the HTML layout for master remove the reference of the dept_id field(you cannot remove this field physically from the master layout). Now the form will look like multirow form rather than master detail form but only problem with this workaround is 'Detail Action' will be present in the detail block.
I hope this will help you.
Thanks
-Krishnamurthy -
Selecting single record from multiple record based on date
Hi experts,
I have a table which contains the multiple records for single ID No. Now i have to select single record which contains the latest date.
here is the structure
Name Null Type
ID_P NUMBER
NAME_P VARCHAR2(12)
DATE_P TIMESTAMP(6)
Records
1 loosi 22-AUG-13 01.27.48.000000000 PM
1 nammi 26-AUG-13 01.28.10.000000000 PM
2 kk 22-AUG-13 01.28.26.000000000 PM
2 thej 26-AUG-13 01.28.42.000000000 PM
now i have to select below 2 rows how can write select qurie for this?
1 loosi 26-AUG-13 01.27.48.000000000 PM
2 thej 26-AUG-13 01.28.42.000000000 PMHi,
You can use the analytic ROW_NUMBER function.
I don't have a copy of your table, so I'll use scott.emp to illustrate. In scott.emp, there may be multiple rows for a single job. To display just 1 row per job, the row with the most recent hiredate:
WITH got_r_num AS
SELECT empno, job, deptno, hiredate -- Or whatever columns you want
, ROW_NUMBER () OVER ( PARTITION BY job
ORDER BY hiredate DESC
) AS r_num
FROM scott.emp
-- WHERE ... -- If you need any filtering put it here
SELECT * -- Or list all columns except r_num
FROM got_r_num
WHERE r_num = 1
What results do you want in case of ties? Depending on your requirements, you may want to add tie-breaking expressions to the analytic ORDER BY clause, and/or use RANK instead of ROW_NUMBER.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
Point out where the query above is producing the wrong results, and explain, using specific examples, how you get the right results from the given data in those places.
If you modify the query at all, post your modified version.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Calling the smartform based on checkbox selection in ALV
Hi
i displayed the report output in ALV using 'REUSE_ALV_GRID_DISPLAY'. I maintained checkboxes as first column of data.
and i also added three user defined buttons like check,uncheck,print form. Now my problem is when user selecting the records in ALV using the checkbox,i have to call the smartform based up on user selection of check box.i done but it is coming only for one checkbox.if we select multiple checkboxes it is not coming.but i need smartform has to call for every checkbox user has selected.
can u suggest on this.all my data in internal table i_data with checkbox field. i'm copying my code here.
LOOP AT I_DATA.
READ TABLE I_DATA INTO WA_DATA INDEX FU_SELFIELD-TABINDEX.
WA_DATA-SEL = 'X'.
MODIFY I_DATA FROM WA_DATA TRANSPORTING SEL.
FU_SELFIELD-REFRESH = 'X'.
MOVE-CORRESPONDING WA_DATA TO WA_PRINT.
APPEND WA_PRINT TO I_PRINT.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZHRF1_PTAR1001'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
IF SY-SUBRC 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION FM_NAME
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
FR_DATE = PN-BEGDA
TO_DATE = PN-ENDDA
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
TABLES
ITAB = I_PRINT
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5
IF SY-SUBRC 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
ENDCASE.
Moderator Message: Duplicate post locked. Continue with your previous thread.
Edited by: Suhas Saha on Dec 27, 2011 9:17 AMHI arjun,
according to you code,
READ TABLE I_DATA INTO WA_DATA INDEX FU_SELFIELD-TABINDEX.
the fu_selfield-tabindex contains only one number , so its trigger only one check box, it is not correct to loop i_data .
take the records which are checked and loop that internal table , using check_changed_data u can select multiple records which are checked.
one importent thing , use sy-subrc after read statement bcz see example
in second loop if the read statement has failed but the work area contains the data , so beware check sy-subrc= 0 . after read.
debug your program and check every time FU_SELFIELD-TABINDEX will be same . so reads same record so many time how many times the loop had.
instead do like this
loop at i_data into wa_data where check = 'x'.
MOVE-CORRESPONDING WA_DATA TO WA_PRINT.
endloop.
Regards
Siva -
Updating multiple records based on process date
Hello,
I need to change the value of multiple records in one table if a condition is met for each record in another table when the application is run.
I have an Employee table containing employee names that also has a status field where the values are either "Active" or "Disabled".
There is a form in the application with an employee name select list using a dynamic LOV based on the Employee table. The LOV is restricted to "Active" employees. The form inserts employee-related transactions with the current date into the Transaction table.
I want to automatically update the status of all employees in the Employee table from "Active" to "Disabled" where there have been no transactions in the Transaction table for that employee for more than 2 months. This will allow me to exclude them from the dynamic LOV based on the Employee table.
Any suggestions are greatly appreciated.
Thank you,
MattHi Matt
Something like this?
UPDATE employees
SET status = 'Disabled'
WHERE status = 'Active'
AND NOT EXISTS(SELECT 'X'
FROM transactions
WHERE emp_id = trn_emp_id
AND tran_date >= SYSDATE - INTERVAL '60' DAY);Let me know if I've misunderstood...
Cheers
Ben -
Display multiple records as sub-sections in the same report.
I am using Crystal Reports (VS-2005).
In a report, I have various sub-sections in the Details section. Each section represents a category and is connected with SQL command which uses LEFT OUTER JOIN.
The first section is the main section and the subsequent sections are the child sections.
Sometimes, a sub-section (other than the first main sub-section) picks multiple records of that category. In this case the report extends to multiple pages. Each report displays one record of this sub-section.
I want to show the the same sub-section multiple times in the same report as opposed to multiple reports that are now automatically generated by Crystal Reports.
How to handle this issue?This is a .NET programming forum related to Crystal Reports. Your question is best suited for our report design forum below. Also, when you post your question it will be helpful if you use report design terminology. We have elements like Report Header, Page Header, Groups, and Details sections. Just mentioning "sections" doesn't give us a good idea about what you are attempting to do.
Check out the grouping options and see if it helps. You might need to create a formula to help you with your grouping though.
If you like, I can move this to the design forum.
[SAP Crystal Reports Design|SAP Crystal Reports; -
Calculate value based upon checkbox selection
G'day people,
I've got myself a bit stuck on a job I've got here, this javascript is getting the better of me.
The idea is that this script takes the sub total, and adds a creditcard surcharge (as a percentage) based upon a checkbox selection, then spits out the value to be entered into another field.
If anyone could have a quick look over the following and let me know where I've gone wrong, it would be appreciated.
var subtotal = this.getField("SubTotal").value;
var mastercardTick = this.getField("MasterCard");
var visaTick = this.getField("Visa");
var amexTick = this.getField("Amex");
var surcharge = this.getField("CreditSurcharge").value;
var creditcard = this.getField("PayCredit").value;
if (creditcard.value === "Off") {
event.value = 0;
} else {
if (mastercardTick.value === "Yes") {
surcharge.value= (1.2 / 100) * subtotal.value;
} else if (visaTick.value === "Yes") {
surcharge.value = (1.2 / 100) * subtotal.value;
} else if (amexTick.value === "Yes") {
surcharge.value = (3.75 / 100) * subtotal.value;
} else {
event.value = 0;Thanks George, I've given this a whirl and got very close... I got a NaN error, and found I was calling "SubTotal" a value twice, which was playing funny buggers!
I've got rid of one part (the if creditcard.value === "Off") as it wasn't acting like it should. I think I had to put it in a seperate function, to be called seperately then the rest of the code... However, I need to get the job out and it wasn't crucial.
Thanks for your help mate, appreciated.
For anyone else that's interested, amended code is as follows:
var subtotal = this.getField("SubTotal");
var mastercardTick = this.getField("MasterCard");
var visaTick = this.getField("Visa");
var amexTick = this.getField("Amex");
// var surcharge = this.getField("CreditSurcharge").value;
var creditcard = this.getField("PayCredit").value;
if (mastercardTick.value === "Yes") {
event.value = (1.2 / 100) * subtotal.value;
} else if (visaTick.value === "Yes") {
event.value = (1.2 / 100) * subtotal.value;
} else if (amexTick.value === "Yes") {
event.value = (3.75 / 100) * subtotal.value;
} else {
event.value = 0;
Not the nicest, but hey, it worked. -
To display multiple records in smart form
hi,
In the smartform how to use the LOOP option to display the multiple records .Two possible reasons,
Here is a very good code sample for using Template,Table,Loop in smartforms with screen shot
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
Please do not post multiple threads. Kindly reward point and close the duplicates.
Regards
Kathirvel -
Can I use a cursor to display multipla records (just as an EXECUTE_QUERY)?
is it possible?
so I can display about 10 records at the same time in a block (in forms)
just like a tabular form?
using a cursor, fetch, etc.what I want is this...
do you see when in a tabular forms (multiple records, i.e 5 records at the same time).
if you press F8 (execute query), it will fetch all records.
ok, now instead of using the execute_query key, how can I get the same thing by using cursors? -
Passing item id based on checkbox selection in sharepoint library
Seeking help on how to pass item id via query string into InfoPath form webpart (via connector)
I have the infopath webpart form and query string all set up and the url works when I provide the value required for the field
My problem is, the value will be driven by the user based on them selecting the checkbox next to the document in the library
Its then actioned through them selecting the quickstep button I have set up in the ribbon which has the url in it
The url I have set up is: http: / / test.abc.com.au/sites/abcd/Lists/NEW FEEDBACK/newform.aspx?title=blah
'title' is what the string is detecting and blah is what is being pulled through to the form
Any ideas?
Tom.Here is how you get selected items using JavaScript client object model:
var context = SP.ClientContext.get_current();
var selectedItems = SP.ListOperation.Selection.getSelectedItems(context);
var itemIds = "";
for (var i = 0; i < selectedItems.length; i++) {
itemIds += selectedItems[i].id + ",";
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field -
Display multiple records with CSS
PHP MySQL
I have a MySQL table with several columns and multiple
records... it is easy
to display these records in a <table> using the repeat
record server
behavior applied to the <tr> that displays the records.
I would like to do this with CSS and eleminate
<table>'s
My question is can this be done displaying the records in a
<div> using the
repeat record server behavior?
Or is this just one of those things that a <table> is
required?
JeffDisplaying rows of data is actually the reason tables were
originally
invented. :)
You need a table with the number of columns for your data and
two rows. The
first row is for the column headers. The second row is for
the PHP
placeholder that will be replaced with data. Apply the repeat
region to
this second row either for all rows or the number of rows you
desire to
display on one page .. in which case you would also use
recordset paging.
(previous, next)
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner''s
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"Jeff" <[email protected]> wrote in message
news:erindt$i70$[email protected]..
> PHP MySQL
> I have a MySQL table with several columns and multiple
records... it is
> easy to display these records in a <table> using
the repeat record server
> behavior applied to the <tr> that displays the
records.
>
> I would like to do this with CSS and eleminate
<table>'s
> My question is can this be done displaying the records
in a <div> using
> the repeat record server behavior?
> Or is this just one of those things that a <table>
is required?
>
> Jeff
>
Maybe you are looking for
-
Pc bogs down when running longer, more voluminous queries
Hi we run 2012 enterprise. I'm noticing that when running longer and higher column count queries locally, other parts of my computer (os w7 professional, 64 bit, 8gb) start getting sluggish. I started looking for wasted disk space and started cleani
-
Resetting Time Capsule password remotely
JUst got my MacBook Pro back from Apple repair & it's been reset to factory settings. Trying to transfer my info back onto it from Time Machine says I need to enter my password for the Time Capsule server. The password I have isn't working and all t
-
I'm having troubles installing Adobe Acrobat DC.
I've done the uninstall and rebooted. the new install gets to 42% the stops overtime i try. I then get this error... Exit Code: 7 Please see specific errors below for troubleshooting. For example, ERROR: DW013 ... ------------------------------------
-
Lately, the commands in Editor have been slow responding; today in Perfect Portrait, the Add Blur command wouldn't work at all. Any suggestions?
-
Efficient way to read CLOB data
Hello All, We have a stored procedure in oracle with CLOB out parameter, when this is executed from java the stored proc is executed fast but reading data from clob datatype using 'subString' functionality takes more time (approx 6sec for 540kb data)