Using variable in dynamic list queries
How can we use a variable value like metadata value of the parent content in the dynamic list query?
I tried something following ways but the query was not picking up the value of xCountries.
dDocType <matches> `State` <AND> xCountries <matches> xCountries
dDocType <matches> `State` <AND> xCountries <matches> `xCountries`
dDocType <matches> `State` <AND> xCountries <matches> `$xCountries`
dDocType <matches> `State` <AND> xCountries <matches> `<!--$xCountries-->`
None of them worked. But when I printed the <!--$xCountries--> on the secondary page for the selected country the value is getting printed.
Regards,
Pratap
Hi Bex,
You were right. Eval function call was helpful here.
The problem was resolved only to an extent by using the eval function. This is
evaluating the query string given in parameters window for ssQueryText to
correct value. We used the eval() function in the dynamic list fragment. The
format of query we were trying earlier was incorrect. The correct format is like
this
dDocType <matches> `City` <AND> xCountries <matches> `<$xCountries$>` <AND>
xStates <matches> `<$xStates$>`
There is another problem though. We are able to add new states or cities by
going to the specific state page or to the cit page and then edit it. But if we
click edit on a secondary page e.g. on a State page(which contains list of
cities) the correct values for cities are not getting populated in the Cities
dynamic list in state edit window. Possible cause is that the eval function is
not called in the edit window (which shows all applets), instead the eval
function is called only in dynamic list fragment which is evaluated in the
secondary page template for State. How can we make the eval function execute in
the edit window as well?
In fact the query is failing from paramters window itself. If I use Test Query
it is returning 0 results.
Is there a work around to address this problem? Hope I didn't confuse much.
Regards,
Pratap
Similar Messages
-
Unable to use #A01# substitution variable in dynamic list
Greetings...
I am attempting to generate a dynamic list on the page. The list will contain a flag indicating whether the list entry is actually hidden to the user or not. If it is hidden to the user, then I want to apply a particular class to that list entry when rendered.
The dynamic list has the following SQL:
SELECT null lvl,
menu.menu_nm label_value,
q'!javascript:$s('P32_MASTER_MENU_ID', '!' ||
menu.menu_id || q'!');!' target_value,
null image,
null image_attribute,
null image_alt_attribute,
case when menu.hidden = 'Y'
then 'class="hiddenNode"'
else null end attribute1
from ( select 'N' hidden, vis.* from std_vw_apex_menu vis
union all
select 'Y' hidden, hid.* from std_vw_apex_menu_hidden hid ) menu
where menu.menu_ty = 'MAINMENU'
order by menu.sort_order
I am then using a list template with the following as the "Current" list entry:
<li class="active"><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>
... and the following as the "Non-Current" list entry:
<li><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>
The result I see in the rendered page however is that the substitution is not happening, as indicated in the following snippet :
<li><a href="javascript:$s('P32_MASTER_MENU_ID', '18893191201');"><span #a01#="">Education</span></a></li>
We are on ApEx 4.2.1. What am I doing wrong as I've seen other threads indicate that it is possible for dynamic lists to use substitution variables in their list templates.
Shane.I found the solution at Attribute substitution not working in templates for dynamic lists.
-
[DW 8.02 + PHP] how to use variables in advanced SQL queries
Hi all,
I can't find a way to use variables in an SQL query after
updating
dreamweaver 8.02.
I always get error messages that says: 'missing variable
type:myvariablename', undefined#myvariablename... and so on.
What is the correct way to use variables?
I usually set a variable in a PHP statement (example: <?
$today=date('Y-m-d'); ?>)
and then I compare this variable in the SQL query.
What is the correct syntax for variable in DW 8.02 in
advanced SQL
queries?
TIA
tonysweetman wrote:
> I'm editing a website created with DW 8.01 and MX
Kollection.
>
> I updated DW to 8.02 and now I can't edit an existing
SQL query.
> I always get an error message 'Missing variable type'
and I can't go
> on.
InterAKT released a new version of Kollection to cope with
the 8.0.2
changes. AFAIK, you should be able to download the updated
version from
your InterAKT account area.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Hi all,
I have a 3 levels catagoris product catalog and would like to manage it
using dynamic list/forms.
I'm searching info about using self-foreign keys on dynamic list/forms.
Is there any tutorial on how to manage this kind of tables using addt?
tia
tonyHello Tom,
You were offered the solution on the InterAKT forums, I am not sure why you are posting this problem again. There's also another thread here that presents the same issue and solution:
http://www.adobeforums.com/cgi-bin/webx/.3bc42a90/0
Regards,
Ionut -
ASP VBScript and ADDT Dynamic List Wizard HELP
Using ADDT I've created a dynamic list in a membership area. How do I get that dynamic list to populate only the data for that particular member that is logged in. Any help would be so much appreciated as I have been trying to figure this out for days now.
<br />
<br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<br />
<!--#include file="../Connections/rentalpaypro.asp" -->
<br />
<!--#include file="../includes/common/KT_common.asp" -->
<br />
<!--#include file="../includes/tNG/tNG.inc.asp" -->
<br /><%<br />'Start log out user<br /> Set logout = new tNG_Logout<br /> logout.setLogoutType "link"<br /> logout.setPageRedirect "../index.html"<br /> logout.Execute<br />'End log out user<br />%>
<br />
<!--#include file="../includes/tfi/TFI.asp" -->
<br />
<!--#include file="../includes/tso/TSO.asp" -->
<br />
<!--#include file="../includes/nav/NAV.asp" -->
<br /><%<br />'Start Restrict Access to Page<br /> Dim restrict: Set restrict = new tNG_RestrictAccess<br /> restrict.Init MM_rentalpaypro_STRING, "../"<br />'Grand Levels: Any<br /> restrict.Execute<br />'End Restrict Access to Page<br />%>
<br /><%<br />' Filter<br /> Dim tfi_listLandlord_Property1: Set tfi_listLandlord_Property1 = new TFI_TableFilter<br /> tfi_listLandlord_Property1.Init MM_rentalpaypro_STRING, "tfi_listLandlord_Property1"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.ContactInfoID", "NUMERIC_TYPE", "ContactInfoID", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.RegistrationID", "NUMERIC_TYPE", "RegistrationID", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.StreetNumber", "NUMERIC_TYPE", "StreetNumber", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.StreetName", "STRING_TYPE", "StreetName", "%"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.AptNumber", "NUMERIC_TYPE", "AptNumber", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.City", "STRING_TYPE", "City", "%"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.State", "STRING_TYPE", "State", "%"<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.ZipCode", "NUMERIC_TYPE", "ZipCode", "="<br /> tfi_listLandlord_Property1.addColumn "Landlord_Property.MonthlyRent", "NUMERIC_TYPE", "MonthlyRent", "="<br /> tfi_listLandlord_Property1.Execute()<br /><br />' Sorter<br /> Dim tso_listLandlord_Property1: Set tso_listLandlord_Property1 = new TSO_TableSorter<br /> tso_listLandlord_Property1.Init "rslistLandlord_Property1", "tso_listLandlord_Property1"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.ContactInfoID"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.RegistrationID"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.StreetNumber"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.StreetName"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.AptNumber"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.City"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.State"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.ZipCode"<br /> tso_listLandlord_Property1.addColumn "Landlord_Property.MonthlyRent"<br /> tso_listLandlord_Property1.setDefault "Landlord_Property.ContactInfoID"<br /> tso_listLandlord_Property1.Execute()<br /><br />' Navigation<br /> Dim nav_listLandlord_Property1: Set nav_listLandlord_Property1 = new NAV_Regular<br /> nav_listLandlord_Property1.Init "nav_listLandlord_Property1", "rsLandlord_Property1", "../", Request.ServerVariables("URL"), 10<br />%>
<br /><%<br />Dim qry_contactinfo__MMColParam<br />qry_contactinfo__MMColParam = "1"<br />If (Session("kt_login_id") <> "") Then <br /> qry_contactinfo__MMColParam = Session("kt_login_id")<br />End If<br />%>
<br />Use the session variable from the log in method (MM_Username as I recall) to create a recordset that you then use in the dynamic list versus using the whole table.
-
Showing filter in dynamic list by default
I have a form using the ADDT dynamic list behaviour. What I'd like to do is show the filter items automatically when that form opens rather than have the user click on the Filter button.
Does anyone know how to do that?
Thanks in advance for any advice.Further searching, and I discovered this has already been answered.
See http://forums.adobe.com/message/1075032#1075032 -
Is WPC dynamic list recursively showing content?
Hi guys,
I have this KM folder structure with WPC's articles:
FOLDER 1
|
|_ FOLDER A
| |_ article a.1
| |_ article a.2
|
|_ FOLDER B
| |_ article b.1
| |_ article b.2
|
|_ article 1.1
|_ article 1.2
articles 1.1 and 1.2 are direct children of Folder1 (ie: they are sibling for Folder A and Folder B). I hope it's clear :S
Here comes the trouble. I'm using a WPC Dynamic List pointing to Folder 1, but instead of showing only articles 1.1 and 1.2, the list is populated with ALL articles within Folder 1 and Folder A and Folder B.
I'm guessing it is reading the folder structure recursively. I need to display ONLY the two last articles (article 1.1 and 1.2).
Is this a bug or, by the opposite, is the expected behavior?
Thanks in advance.
Best Regards,
MarceloThanks for the answer.
Guess i have to put everything I need in the article element so i do not need to show the page.
Another question occured to me while I was doing that:
When I navigate from a Dynamic List to an Element, it should be possible to navigate back and forth with the buttons I created using the history api.
Instead of the "<a href..." in the default dynamic list I created an onclick event. Right now im trying to navigate to the article with its guid and the method "EPCM.doNavigate(...)" but until know i haven't been able to get it done.
Is it even possible to reach that goal and in case it is am I on the right track or is there a better approach available?!
Thanks in advance...
Greetings, -
Dynamic lists performance impact
Hi
I am interested in finding out what the performance impact of using Site Studio dynamic lists fragments on a web page are. Is the query executed each time the page is loaded? If I place more than one dynamic lists on a page how will that impact the performance?
Thx,
VayleeHi Vaylee,
unless you cache your results query executes each time. I guess the impact will not be that high, as pages are processed before they are served from UCM this will add only a little to the existing process.
cheers,
sapan -
Parameterizing a view to use with IN list queries..
Brief bit of intro:
I'm writing an app that lets the user create a stored procedure of varying number of arguments. One or more of these arguments will be of the form:
1,2,3
'a','b','c'
Supplied as strings, and without using dynamic sql, it becomes difficult to use them as IN-list arguments because we essentially have the IN operator searching for a record that contains the literal text 1,2,3 rather than looking for records that match on 1 or 2 or 3
Having done some reading, it would appear that I can pull this trick:
SELECT
TRIM(SUBSTR(src, INSTR(src, ',', 1, LEVEL)+1, INSTR(src, ',', 1, LEVEL+1) - INSTR(src, ',', 1, LEVEL)-1)) output
FROM
t
CONNECT BY ROWNUM<=LENGTH(src) - LENGTH(replace(src,','))-1Where src is the string list
Now thats quite cumbersome, so I'd like to hide it. Tom gives us a way that I dont fully understand, but it seems to basically be of setting an Oracle environment variable of name XYZ to value 'a','b','c' - i.e. our string, and then writing a view that targets the variable.
My first question is, can someone help me out with a bit of code that does that?
Is there a problem with using the variable, because what happens if someone else calls this procedure while I am still calling it - is it possible that their call will set my env var to something else before my sql is run? How can I localise the environment variable to me/my session only?
Also could you provide an example PL/SQL of how it would be used?
I guess something like:
PROCEDURE xyz(in_list varchar2)
IS BEGIN
set_environment_var(XYZ, in_list);
SELECT 1 FROM table WHERE inlistcolumn IN (SELECT * FROM in_list_view)
ENDin_list_view is the view that targets env variable XYZ. Other bits are mainly pseudocode because I dont know how/where to set the environment variable.
The second question I have is:
Once I have this in place, am I correct in thinking that I will have to create two views if I wish to write a query that has 2 in-list clauses?
i.e.
PROCEDURE xyz(in_list_one varchar2, in_list_two varchar2)
IS BEGIN
set_environment_var(XYZ, in_list_one);
set_environment_var(ABC, in_list_two);
SELECT 1 FROM table WHERE in_list_column IN (SELECT * FROM in_list_view_XYZ) and other_in_list_column IN (SELECT * FROM in_list_view_ABC)
ENDFor N in list ops, i must have N queries and N environment variables, yes?I've never used Tom's environment variable approach, but here's a different technique you may wish to consider (assuming you're on 10g).
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jun 29 15:20:55 2007
create table t ( n number, v varchar2(10) );
Table created.
insert into t values ( 1, 'a' );
1 row created.
insert into t values ( 2, 'b' );
1 row created.
insert into t values ( 3, 'c' );
1 row created.
insert into t values ( 4, 'd' );
1 row created.
insert into t values ( 5, 'e' );
1 row created.
commit;
Commit complete.
-- for numeric in-list
variable d varchar2(1)
variable p varchar2(10)
execute :d := ',' ;
PL/SQL procedure successfully completed.
execute :p := '1,2,3' ;
PL/SQL procedure successfully completed.
select *
from t
where n in
( -- this query converts string '1,2,3' into
-- three rows containing 1, 2, and 3
select val
from dual
model
return updated rows
dimension by ( 0 as position )
measures ( :p || :d as val )
rules upsert
( val
[ for position
from 1
to length( regexp_replace( val[0], '[^'||:d||']', null ) )
increment 1
] = rtrim( regexp_substr( val[0], '.*?' || :d, 1, cv(position) ), :d )
order by 1 ;
N V
1 a
2 b
3 c
3 rows selected.
-- for string in-list
execute :d := ',' ;
PL/SQL procedure successfully completed.
execute :p := '''a'',''b''' ;
PL/SQL procedure successfully completed.
select *
from t
where v in
( -- this query converts string 'a','b' into
-- two rows containing 'a' and 'b'
select val
from dual
model
return updated rows
dimension by ( 0 as position )
measures ( replace( :p || :d, '''', null ) as val )
rules upsert
( val
[ for position
from 1
to length( regexp_replace( val[0], '[^'||:d||']', null ) )
increment 1
] = rtrim( regexp_substr( val[0], '.*?' || :d, 1, cv(position) ), :d )
order by 1 ;
N V
1 a
2 b
2 rows selected.There are alternatives to using MODEL as well. Check out SQL Snippets: SQL Techniques Tutorials - String to Rows for some other approaches.
Joe Fuda
SQL Snippets -
ADDT Dynamic List with Session Variable?
I've created a dynamic list using ADDT. When a member logs into the site I want the member to see only his or her specific information in this list. How do I create a session variable that allows only the logged in member to see there specific information in the list?
<br />
<br /><%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<br />
<!--#include file="../Connections/rentalpaypro.asp" -->
<br />
<!--#include file="../includes/common/KT_common.asp" -->
<br />
<!--#include file="../includes/tfi/TFI.asp" -->
<br />
<!--#include file="../includes/tso/TSO.asp" -->
<br />
<!--#include file="../includes/nav/NAV.asp" -->
<br /><%<br />' Filter<br /> Dim tfi_listLandLordRentalProperties3: Set tfi_listLandLordRentalProperties3 = new TFI_TableFilter<br /> tfi_listLandLordRentalProperties3.Init MM_rentalpaypro_STRING, "tfi_listLandLordRentalProperties3"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.memUserName", "STRING_TYPE", "memUserName", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreeNumber", "NUMERIC_TYPE", "StreeNumber", "="<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreetName", "STRING_TYPE", "StreetName", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.AptNumber", "NUMERIC_TYPE", "AptNumber", "="<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.City", "STRING_TYPE", "City", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.State", "STRING_TYPE", "State", "%"<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.ZipCode", "NUMERIC_TYPE", "ZipCode", "="<br /> tfi_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.RentAmount", "NUMERIC_TYPE", "RentAmount", "="<br /> tfi_listLandLordRentalProperties3.Execute()<br /><br />' Sorter<br /> Dim tso_listLandLordRentalProperties3: Set tso_listLandLordRentalProperties3 = new TSO_TableSorter<br /> tso_listLandLordRentalProperties3.Init "rslistLandLordRentalProperties3", "tso_listLandLordRentalProperties3"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.memUserName"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreeNumber"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.StreetName"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.AptNumber"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.City"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.State"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.ZipCode"<br /> tso_listLandLordRentalProperties3.addColumn "LandLordRentalProperties.RentAmount"<br /> tso_listLandLordRentalProperties3.setDefault "LandLordRentalProperties.memUserName"<br /> tso_listLandLordRentalProperties3.Execute()<br /><br />' Navigation<br /> Dim nav_listLandLordRentalProperties3: Set nav_listLandLordRentalProperties3 = new NAV_Regular<br /> nav_listLandLordRentalProperties3.Init "nav_listLandLordRentalProperties3", "rsLandLordRentalProperties1", "../", Request.ServerVariables("URL"), 10<br />%>
<br />Hi,
when you use the dynamic list ..
it creates a SQL query..
change it ..,
add the param ( your session variable to it)
hope this helps
regards
mohnkhan
http://www.mohitech.com -
Dynamic list to generate url variable
Hello, I am using a dynamic list to pull product codes from a
database. I then want to pass the code into a url variable when it
goes to the results page. This is so customers can chose which code
they want to go to a detail page about. I already have the dynamic
list working, I just can not figure out how to embed the selected
code into a url variable. For example I want it to do the
following:
sitename.com/search.php <--- here is where you start and
make the selection then it brings you to:
sitename.com/details.php?code=202 <---- code202 was
selected on previous page in dynamic list.
I know how to do it by pulling results from a database and
generating links for each one, but I need to do it from a dynamic
drop down list.
Here is the coding that I was trying to use:
Thank you for your assistance.Sorry, dumb error on my part. Used method=post rather then
get. -
How to create two level dynamic list using JSP , Java Script and Oracle
I am new in JSP. And i am facing problem in creating two level dynamic list using JSP ,Java Script where the listdata will come from Oracle 10g express edition database. Is there any easy way in JSP that is available on in ASP.NET.
Plz response with details.1) Learn JDBC API [http://java.sun.com/docs/books/tutorial/jdbc/index.html].
2) Create DAO class which contains JDBC code and do all SQL queries and returns or takes ID's or DTO objects.
3) Learn Servlet API [http://java.sun.com/javaee/5/docs/tutorial/doc/].
4) Create Servlet class which calls the DAO class, gets the list of DTO's as result, puts it as a request attribute and forwards the request to a JSP page.
5) Learn JSP and JSTL [http://java.sun.com/javaee/5/docs/tutorial/doc/]. Also learn HTML if you even don't know it.
6) Create JSP page which uses the JSTL c:forEach tag to access the list of DTO's and iterate over it and prints a HTML list out.
You don't need Javascript for this. -
How to use dynamic list box in survey builder?
Hello,
Could someone give me a little bit of thread? How to use dynamic list box in survey builder?Hi Liu,
Dynamic combo boxes::A combo box is dynamic if it references a document property for which a value set is defined in the configuration (System Administration ® System Configuration ® Content Management ® Global Services ® Property Metadata ® Properties ® Parameter Allowed Values).
At runtime (when you open the creation form) the system reads these values from the configuration and displays them in the dropdown list.
If you link a combo box for which list entries already exist to a document property with a value set, the system asks whether you want to delete the list entries. it is recommend that you accept this suggestion and delete the list entries from the XML Forms Builder. Otherwise inconsistencies could arise between the entries in the XML Forms Builder and the value set in the configuration. This can cause errors when saving.
Also you may Refer the Link for Further help:
http://help.sap.com/saphelp_crm50/helpdata/en/29/c40d3d2a83752de10000000a114084/frameset.htm
http://help.sap.com/saphelp_crm50/helpdata/en/00/9e7f41969e1809e10000000a155106/frameset.htm
http://help.sap.com/saphelp_crm50/helpdata/en/a7/5a874174a8050de10000000a1550b0/frameset.htm
Hope it Answers your Queries..
Thanks and Regards,
RK. -
Using bind variable in dynamic where clause and concatenate with query
Hi,
In my procedure i am framing where clause dynamically with bind variable,When i am concatenate this with my sql query for REF CURSOR i got sql command not properly ended exception.
Is it possible to pass values to the bind variable through the dynamic variable/value?
Please advise
Thanks in advance
Siva
IF in_applicationId IS NOT NULL THEN
optional_where := optional_where || ' AND a.APPLICATION_ID like '||':e%';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'||',in_queue_id'||',in_applicationId';
END IF;
My query is like this
open Out_Main FOR SelectQuery USING optional_usingThanks for reply,
In my procedure, i suppose to frame the where clause with bind dynamically according to the input parameters. so that i am framing the values of the bind variables also dynamically like this,
Please advise...
IF in_assignedAppFlag IS NOT NULL THEN
IF in_assignedAppFlag = 'Y' THEN
optional_where := optional_where || ' AND b.ASSIGNED_TO = :b' ;
optional_using := ' in_appFuncGroup'||',in_currentUserID';
ELSe
IF in_isSupervisor = 0 THEN
optional_where := optional_where || ' AND (b.ASSIGNED_TO = :b'||' OR b.ASSIGNED_TO = ''-1'' OR b.ASSIGNED_TO IS NULL)';
optional_using := ' in_appFuncGroup'||',in_currentUserID';
END IF;
END IF;
ELSE
IF in_isSupervisor = 0 THEN
optional_where := optional_where || ' AND (b.ASSIGNED_TO = :b'||' OR b.ASSIGNED_TO = ''-1'' OR b.ASSIGNED_TO IS NULL)';
optional_using := ' in_appFuncGroup'||',in_currentUserID';
END IF;
END IF;
IF in_appFuncGroup IS NOT NULL THEN
optional_where := optional_where || ' AND e.APP_FUNC_GROUP= :c';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup';
END IF;
IF in_queue_id IS NOT NULL THEN
optional_where := optional_where || ' AND b.QUEUE_ID = :d';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'||',in_queue_id';
END IF;
IF in_applicationId IS NOT NULL THEN
optional_where := optional_where || ' AND a.APPLICATION_ID like '||':e%';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'||',in_queue_id'||',in_applicationId';
END IF;
IF in_sourceCode IS NOT NULL THEN
optional_where := optional_where || ' AND e.APP_SOURCE_CODE like '||':f%';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
||',in_queue_id'||',in_applicationId'||',in_sourceCode';
END IF;
IF in_logo IS NOT NULL THEN
optional_where := optional_where || ' AND appProds.PRODUCT_TYPE like '||':g%';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo';
END IF;
IF in_firstName IS NOT NULL THEN
optional_where := optional_where || ' AND upper(a.FIRST_NAME) like upper(:h%)';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo'||',in_firstName';
END IF;
IF in_surName IS NOT NULL THEN
optional_where := optional_where || ' AND upper(a.SURNAME) like upper(:i%)';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo'||',in_firstName'||',in_surName';
END IF;
IF in_retreival_id IS NOT NULL THEN
optional_where := optional_where || ' AND e.RETREIVAL_ID like :j%';
optional_using := ' in_appFuncGroup'||',in_currentUserID'||',in_appFuncGroup'
||',in_queue_id'||',in_applicationId'||',in_sourceCode'||',in_logo'||',in_firstName'||',in_surName'||',in_retreival_id';
END IF; -
Referencing a "checked record" from my ADDT Dynamic List using a SPRY Menu
I have just posted a Beta of my site to:
http://www.clearwave.biz/Beta/T1COElogin.cfm
- Username is: Beta
- Password is: 123
- Once you are logged in you should see the ADDT list w/one
order listed.
- Click on the Printer icon & the Order Agreement will
open in PDF. (this works fine)
- Click on the InfoSheet link & the Report will open in
PDF as well. (this works fine)
- Everything works fine if you use the links on the same line
as the record.
- But if you check the CheckBox on the left, then choose the
Spry Menu above, Reports/T1 Agreement the report will not work?
Question: What should the Link be to reference the checked
item below, pass the CustID value to the report & print the
PDF?
(Note: the CF report has the following line in the SQL:
(tblT1OrderProcessing2.T1CustID = #param.T1CustID#) and the report
prints fine in Report Builder if I pass it the T1CustID, as well as
if I click the links on the same line as mentioned above, so this
is just an issue of grabbing the CustID value from the checked line
& passing it to the report link in the Spry menu)
Here is a visual picture of my Dynamic List page:
http://cerberus.clearwave.com/jerry/Order_Management_Main_Page.jpg
Thanks in advance for the help,
jligHere is the Report URL that works perfectly when clicking the
Printer icon on the right of my List:
http://www.clearwave.biz/Beta/reports/T1_Service_Agreement.cfm?T1CustID=1508
and the link to the InfoSheet:
http://www.clearwave.biz/Beta/reports/T1_Information_Sheet.cfr?T1CustID=1508
Both of these work perfectly by grabbing the T1CustID value
of 1508 from the line.
Maybe you are looking for
-
Why do I need to reset my Airport Express multiple times a day?
I purchased an Airport Express (AE) in 2008. Ocassionaly since I've owned the device, I've had a problem connecting to it via iPod touch, iPhone, Macbook Pro, Macbook, etc. I would see the AE in my wifi router list, I just couldn't connect to it.
-
Macbook Pro wifi and application issues, everything slow
Hey guys, So my macbook pro has been giving me a lot of issues lately. It doesn't appear to be one particular problem and it's spread out across applications. Here's my situation: The wifi connection in my dorm room wont work all of a sudden. It's th
-
How to create a different sid in the same system
Hi Experts In one system already i have installed HP Quality center with Oracle, Now i want to install SAP on the same system. Please help me how to create a different SID on the same system. Thanks in advance
-
Stock report using mbew and mbewh
Hi to all. i want to prepare o report for month end stock. i am preparing this report using tables mbew and mbewh.. as per my knowledge goes the current stock is in the table mbew and history stock is in the table mbewh. i am picking up the current d
-
Copy song to windows phone 8 c#
Hi All, I want to download song to Windows phone through URL . For example songUri = https://BaarishYaariyan_(Instrumental)(MyMp3Song.Com).mp3 Can u pleas let me know the code? songUri = https://BaarishYaariyan_(Instrumental)(MyMp3Song.Com).