Drop 100% in autoquery result?
Is it possible to drop the 100% in a autoquery result? All the results are 100%.
Hi,
It seems you are facing bug 2126651 which is going to fixed by 905,workaround is disable oracle text.
Hope that helps.
regards,
Milind
Similar Messages
-
Dynamic Drop Down & displaying selected results
Hello!
I have been following the DDT image gallery tutorial - and it has been great! But, now I am stuck... What I have done is created an image gallery that displays all my Orchid Flower images. However, now I would like to add a drop down list to the photo gallery where the user can select:
to view orchid by color (data base driven)
view orchid by season(data base driven)
Could someone please point me to a tutorial that I can follow to set this up? Or can you post the code that I would need in order to get this to work?
Thank you!Hi Cathy,
please back up your current page and replace the following line:
$query_getimages = "SELECT * FROM image_img";
with this code block:
if (empty($_POST['color']) && empty($_POST['season'])) {
$query_getimages = "SELECT * FROM image_img";
else {
if (empty($_POST['color']) && !empty($_POST['season'])) {
$query_getimages = "SELECT * FROM image_img WHERE season = '".$_POST['season']."'";
if (!empty($_POST['color']) && empty($_POST['season'])) {
$query_getimages = "SELECT * FROM image_img WHERE color_id = ".$_POST['color_id']."";
if (!empty($_POST['color']) && !empty($_POST['season'])) {
$query_getimages = "SELECT * FROM image_img WHERE season = '".$_POST['season']."' AND color_id = ".$_POST['color_id']."";
That should work -- does it ??
Please note that such a manual modification of a Dreamweaver recordset might have a drawback :: DW will no longer display it in the Server Behaviours tab later on, and if you would try to add additional e.g. "Dynamic Text" instances based on this recordset, DW will also refuse to do that, as it can´t recognize it any longer. That said, such modifications should always be applied when a page can be considered "feature complete"
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Credit Dropped 100 points?
Hello , Recenlty I changed american express cards , meaning I closed my AMEX gold charge card to open an AMEX everyday I was approved and given a 10k limit. However after I closed my gold card I didn't see one left over charge of $60. Months went by without my knowlege of my outstanding payment , in the end AMEX closed all my accounts for failing to pay the $60 charge. I have called them and they said I would have to apply again , so I did however I was declined. Now my credit has fallen to 640 from 750 just from closing one of my credit card accounts , plus the late payments. Those are the only marks on my credit other than those I have made all payments on time and re-payed all loans given to me. Now I am trying to raise my credit score but it seems I am getting denied for all credit cards. I still have one credit card with a $600 limit on it ( my very first) , should I just start making purchases with this card and make my payments on-time ? Do you think this will restore my credit ? I was thinking about taking one of prosper loans out and just paying it back month by month to help my credit. I have a decent job , 0 debt , and my housing is provided by my employer. Thank you for taking the time to read my post.
Sorry this happened to you. First off, did you square the debt on the gold card with Amex? That is a top priority. They have a concrete memory. Didnt they try to contact you to get payment while it was 30 or 60 or 90 days late? My problems came in 2008 and 09 and I was getting lots of calls from every creditor until the COs occured. Then a short lull, and the CAs started circling overhead. Second, try getting secured cards, hopefully ones that will graduate to unsecured with good history. There are threads with lists of secured cards on the forums. If you have one card now, take care of it. You need to try for at least three, even if small, even if secured. The baddies will have less impact in time, with 24 months as a milestone. Rinse out that one card you have with purchases and payments, and pay before due dates. When you get more cards, rinse those out too. hth
-
On top of that, I was told by the customer service rep I was chatting with to act fast before the sale ends. Only to have the price go down!
WGB1130 We understand wanting the best deal on your device. We offer different promotions and device prices are subject to change. This does not guarantee a price match and we would need to review this on a case by case situation. Other's who have may received courtesy adjustments could be based on other factors. It is not a policy to price match the phone but we would love to see what ther options are available. You can look into trading in your previous phone to try and help offset the costs http://bit.ly/GGnDDC
Sheritah_vzw
Follow us on Twitter
@VZWSupport -
Packets dropped at encryption stage.
I am truly struggling with the changes after 8.21.
I am trying to get a VPN up between two sites. This is the B end, I am sure there are a bunch of problems in the other end too. Eg. the tunnel NAT does not have the right priority 1.
when I establish the tunnel I get this:
3 Sep 01 2008 11:23:37 Tunnel Manager has failed to establish an L2L SA. All configured IKE versions failed to establish the tunnel. Map Tag= outside_map. Map Sequence Number = 1.
# packet-tracer input inside tcp 10.2.32.11 80 10.1.1.10 80
Phase: 1
Type: ACCESS-LIST
Subtype:
Result: ALLOW
Config:
Implicit Rule
Additional Information:
MAC Access list
Phase: 2
Type: ROUTE-LOOKUP
Subtype: input
Result: ALLOW
Config:
Additional Information:
in 0.0.0.0 0.0.0.0 outside
Phase: 3
Type: IP-OPTIONS
Subtype:
Result: ALLOW
Config:
Additional Information:
Phase: 4
Type: NAT
Subtype:
Result: ALLOW
Config:
nat (inside,outside) source static 101_Net 101_Net destination static
ServerNet ServerNet
Additional Information:
Static translate 10.2.32.11/80 to 10.2.32.11/80
Phase: 5
Type: HOST-LIMIT
Subtype:
Result: ALLOW
Config:
Additional Information:
Phase: 6
Type: VPN
Subtype: encrypt
Result: DROP
Config:
Additional Information:
Result:
input-interface: inside
input-status: up
input-line-status: up
output-interface: outside
output-status: up
output-line-status: up
Action: drop
Drop-reason: (acl-drop) Flow is denied by configured rule
Here is the config...
ASA Version 8.4(1)
hostname ma
names
name 14.1.1.1 HQ_peer
name 10.2.32.0 Ma_Net
interface Vlan1
nameif outside
security-level 0
pppoe client vpdn group NETF
ip address pppoe setroute
interface Vlan2
nameif inside
security-level 100
ip address 10.2.32.254 255.255.255.0
interface Vlan3
nameif av
security-level 99
ip address 192.168.1.254 255.255.255.0
interface Ethernet0/0
interface Ethernet0/1
description Airport Extreme
switchport access vlan 2
interface Ethernet0/2
description to PowerLine rest of network
switchport access vlan 2
interface Ethernet0/3
switchport access vlan 2
interface Ethernet0/4
switchport access vlan 2
interface Ethernet0/5
description TO AVNET switch
switchport access vlan 3
interface Ethernet0/6
switchport access vlan 2
shutdown
interface Ethernet0/7
switchport access vlan 2
shutdown
boot system disk0:/asa841-k8.bin
ftp mode passive
object network 101_Net
subnet 10.2.32.0 255.255.255.0
object network HS_ServerNet
subnet 10.1.1.0 255.255.255.128
object network AV_Net
subnet 192.168.1.0 255.255.255.0
object network NETWORK_OBJ_10.2.32.0_24
subnet 10.2.32.0 255.255.255.0
access-list outisde_1_cryptomap extended permit ip object 101_Net object HS
_ServerNet
access-list outside_cryptomap extended permit ip 10.2.32.0 255.255.255.0 object
HS_ServerNet
pager lines 24
logging enable
logging buffered notifications
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu av 1500
ip local pool VPNNET 10.2.9.1-10.2.9.30 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-66114.bin
no asdm history enable
arp timeout 14400
nat (inside,outside) source static 101_Net 101_Net destination static HS_
ServerNet HS_ServerNet
nat (inside,outside) source dynamic any interface
nat (av,outside) source dynamic any interface
nat (inside,outside) source static NETWORK_OBJ_10.2.32.0_24 NETWORK_OBJ_10.2.32.
0_24 destination static HS_ServerNet HS_ServerNet
route outside 0.0.0.0 0.0.0.0 9.9.9.9 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
http server enable
http Ma_Net 255.255.255.0 inside
http 192.168.1.0 255.255.255.0 av
no snmp-server location
no snmp-server contact
crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec ikev2 ipsec-proposal DES
protocol esp encryption des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal 3DES
protocol esp encryption 3des
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES
protocol esp encryption aes
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES192
protocol esp encryption aes-192
protocol esp integrity sha-1 md5
crypto ipsec ikev2 ipsec-proposal AES256
protocol esp encryption aes-256
protocol esp integrity sha-1 md5
crypto map outside_map 1 match address outside_cryptomap
crypto map outside_map 1 set peer HansHQ_peer
crypto map outside_map 1 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5
ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ES
P-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map outside_map 1 set ikev2 ipsec-proposal AES256 AES192 AES 3DES DES
crypto map outside_map interface outside
crypto ca trustpoint ASDM_TrustPoint0
enrollment self
fqdn HS-ma.HS.internal
subject-name CN=HS-ma
crl configure
crypto ikev2 policy 1
encryption aes-256
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 10
encryption aes-192
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 20
encryption aes
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 30
encryption 3des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 policy 40
encryption des
integrity sha
group 5 2
prf sha
lifetime seconds 86400
crypto ikev2 enable outside
crypto ikev1 enable outside
crypto ikev1 policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet 10.2.8.0 255.255.255.0 inside
telnet Ma_Net 255.255.255.0 inside
telnet 192.168.1.0 255.255.255.0 av
telnet timeout 1440
ssh timeout 5
console timeout 0
management-access av
vpdn group NETF request dialout pppoe
vpdn group NETF localname *******************
vpdn group NETF ppp authentication pap
vpdn username ************* password *****
dhcpd address 10.2.32.10-10.2.32.40 inside
dhcpd dns 8.8.8.8 interface inside
dhcpd enable inside
dhcpd address 192.168.1.10-192.168.1.40 av
dhcpd dns 8.8.8.8 interface av
dhcpd enable av
threat-detection basic-threat
threat-detection statistics
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 averag
e-rate 200
ntp server 10.1.1.1
ssl trust-point ASDM_TrustPoint0 outside
webvpn
enable outside
tunnel-group-list enable
group-policy DfltGrpPolicy attributes
vpn-tunnel-protocol ikev1 ikev2 l2tp-ipsec
group-policy GroupPolicy_14.1.1.1 internal
group-policy GroupPolicy_14.1.1.1 attributes
vpn-tunnel-protocol ikev1 ikev2
group-policy GroupPolicy_MaResidence internal
group-policy GroupPolicy_MaResidence attributes
wins-server none
dns-server value 8.8.8.8
default-domain value HS.internal
tunnel-group 14.1.1.1 type ipsec-l2l
tunnel-group 14.1.1.1 general-attributes
default-group-policy GroupPolicy_14.1.1.1
tunnel-group 14.1.1.1 ipsec-attributes
ikev1 pre-shared-key *****
ikev2 remote-authentication pre-shared-key *****
ikev2 local-authentication pre-shared-key *****
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect ip-options
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcptry to permit esp, udp port 500 and 4500 on your crypto acl and see if that helps.
-
IPhone 5 drops calls as fast as my confidence in Verizon
I've been a happy Verizon wireless subscriber for roughly the past 7 years. I've always had LG flip phones, and in that time have had perhaps 2 dropped calls. In July 2013, I upgraded to an Apple iPhone 5 16GB in black. As each day passes, and my iPhone 5 drops more and more calls, my regret about the poor choice I made in accepting Verizon's offer to upgrade, exponentially increases.
I live in the same home as I did with all of my LG flip phones that performed flawlessly on the Verizon Network. Never was there a dropped phone call. I transmitted a great deal of data via text and picture messaging with out any significant or frequent slowdowns in speed. I never had problems in the timely receipt of my incoming texts. When I turn on either of my old LG phones and place them next to my Apple iPhone 5, they all match, showing 2 or 3 bars of service and LTE.
Conversely, my regrettable, disappointing, and obviously flawed Apple iPhone 5 does outperform all others when it comes to call dropping dependability. I can count on my iPhone to drop 100% of the incoming and outgoing calls, 100% of the time in my bedroom and in my home office. The rest of my home is about a 70/30 crap shoot in favor of it eventually dropping the call where none were ever dropped in the prior 7 years of my Verizon service using LG phones. People will send me text messages over the span of hours, or a day, and they appear to stack up somewhere until I receive an incoming phone call which pushes all of them through at the same moment as the phone begins to ring. Never had that problem before. People will phone me, and I never hear my phone ring or receive a missed call notification. Hours later my iPhone will suddenly go off with the voice mail notification, all the while between showing 2 or 3 bars of reception when I check the phone wondering why expected calls haven't called me, yet. Short of having to walk outside, trying to have a voice conversation on my iPhone 5 reminds me of the old days, and the family having to get into those awkward "TV viewing positions" and holding old style TV antennas and aluminum foil just to get a favorite station to come in better. Thanks to my Apple iPhone 5, I have to do the same "assume the position" when trying to send any picture or large data files.
No, I do not have a case on, or around my phone.
Yes, I keep my iPhone 5 in the same indoor locations that worked well for LG, and have looked for other "convenient" places to locate them for potentially better reception, with no luck.
I am located in zip code 98663.
The 4G coverage map indicates my location is deep within Verizon's "supposed" coverage area.
I've done the recent IOS 7.0.4 software upgrade, and I think it got worse afterwards, if possible.
All 3 roaming functions are enabled.
I've tested the device in multiple places in and out of the house. It does NOT drop calls outside and data is faster, HOWEVER the iPhone continues to register the same 2 or 3 bars of reception outside as it does inside, including LTE.
I do not power cycle daily, but I do power cycle often.
I have tried resetting the Network Settings in the past.
When others are in my home and are serviced by Sprint and AT&T and others, I can use their non-Apple, non-Verizon, phones, and have ZERO DROPPED CALLS indoors.
I've been told I need one of those $250 network extenders. HAHAHAHA!!! Never had one problem in 7 years in the same house on the Verizon wireless network prior to my poor decision to accept Verizon's upgrade offer. Why, exactly, is it my responsibility to pay $250 to fix a problem that has clearly resulted from either a phone that is lacking in quality that Verizon (ironically?) "upgraded" me to into, a wireless network that is inadequately designed in my area to be compatible with some of the products Verizon sells, or both.
This whole nightmare has severely diminished my confidence in Verizon's commitments to both quality and customer care. I sincerely hope that this plea for help from Verizon will bring an acceptable resolution and restoration of my confidence that Verizon is still willing to defend it's once good reputation, and is the wireless provider that I should be proud to be a member of, for the rest of my life. Hate to jump ship, but if there is no loyalty towards customers, why stay?
Thank you.KinquanaH_VZw:
Thank you for the reply to my concerns.
I have not had a trouble ticket created over this problem. Since the iPhone 5 continuously drops calls, I have not tried to call *611 from it due to the long hold times. Early on, I made several attempts from my land line to call the 800-922-0204 number for customer service. After holding for up to 20 minutes on different days of the week and at different times of the day and never reaching an agent I became frustrated and chose to live with the problem, realizing that Verizon would be of no help to me. When I finally became disgusted with the call dropping, and related poor reception issues, I decided to research the problem, read what others had experienced, how they coped, what problems they specifically reported, how they communicated their problems, how they were treated by Verizon, and finally what solutions were offered by Verizon, and the ability of those solutions to improve the problem to the satisfaction of the complaining/unhappy customers.
From what I was able to dig up, it appeared that replacing the iPhone was successful in satisfying the customers issues with call dropping less than 10% of the time. Statistically speaking, I felt that replacing one iPhone for another would be a waste of my time. Besides, if I can't get through to customer service on the phone, requesting a replacement is the least of my concerns.
You mention some other things that can affect service:
-Location of tower - Lived in same home for almost 50 years. Unless you moved the tower the day I activated my iPhone and deactivated my LG Chocolate (which received flawless reception in my home). I doubt that is the problem.
-Building structure - Again lived here for almost 50 years. It has not changed since the LG had flawless reception and the iPhone has been less than satisfactory.
-Weather - In the 4 years with the LG Chocolate we had about every type of weather that is typical for this region, and never a problem. In the 6 months I've had the iPhone, the weather here has been pretty consistent and good and there is no noticeable difference to the constant call dropping.
-Tower congestion - Admittedly there were consistent blocks of time Monday-Friday that I did notice the LG slow a bit on data transmission, and attributed it to tower congestion. However, even at minimal usage times, such as 2, or 3, or 4 AM, the iPhone still is quite reliable in it's ability to drop calls and transmit data slowly.
In addition to the above things that can affect service, please keep this in mind, I have friends with smart phones on other networks, specifically Sprint and At&T. When they visit my home, I am quite envious of their reception, even when putting the phones side by side in worst spots in my home, theirs outperform mine in every test I have asked them humor me by doing. Other friends with Verizon smart phones that are not Apple products, receive better phone and data service/reception in my house than I do, but not as good as those with other providers.
From the data I was able to research, customer complaints and resolutions, and comparisons of reception in my home before and after the iPhone and with other providers, I concluded this:
Were I someday able to get through to customer service, I would be willing to jump through the hoops, as I am now, so that you can verify and collect what ever technical data you need regarding this problem.
Ultimately, I would be offered the same choice, or two, as all others having the same problem with their iPhone as I am. Exchange it for another iPhone, which is unsuccessful about 90% of the time, and/or I should purchase at my own expense a network extender. If I, and others, had always had poor reception/service in my home, I would have no problem paying for one. Since the case is the other way around, I decided to be proactive about my feelings on having to purchase one, resulting in my plea for help on the message board.
I do apologize for the length of my message, but I wanted to try to cover all of the potential questions that would be posed to me in an effort to look for causes that would eliminate the iPhone or the signal quality provided by Verizon of any blame.
Anyway, I am happy to have you open a trouble ticket and to answer any questions that anyone needs to ask, and do what needs to be done to find a solution. If you were unable to locate my account through my user name or email address I will provide that information below so that you can get started. If there is anything that involves asking a lot of questions, I suggest it be done via email, as over the phone will probably even frustrate the technician or CSR who has to call me back 20 times to complete the questions due to call dropping.
I sincerely hope that you are able to find a mutually beneficial solution to this problem.
Thank you,
>>Personal information removed to comply with the Verizon Wireless Terms of Service<<
Message was edited by: Verizon Moderator -
Drop down boxes ok in Crystal Reports but not ok in Crystal Reports Server
I have the following problem with "dynamic dropdowns"
Initially, I have a Crystal Report (.rpt). It has two dynamic drop downs. They work
in both Crystal Reports Designer (preview) and Crystal Reports Server (right-click-View).
The first drop down is the result of a rather complex sql query. The second drop down
is a child of the first.
I make a small change to the sql "WHERE" clause using the Crystal Reports Designer. It works fine in preview.
I save (Enterprise mode) to Crystal Server. I use Business View Manager to configure
the _DC_n object. (I did notice that the .._DC_n gets incremented by one.)
The _DF object seems to know about the updated sql so I do not have change it.
However, when I go to back to Crystal Reports Server, and right-click-View, the
"dynamic dropdown" is not working properly. I can not make sense
of what has been retrieved.
Please tell me what is most likely to have gone wrong here? The Business View Manager
seemed to knew about the sql change. But Crystal Reports Server has
not responded to the change in the same way as Crystal Reports Designer.
...thank you, StanWhen you publish a report to Crystal Server, the dynamic prompts are no longer handled in the report itself. Instead depending on how they're published, they either go away or they're published to the "repository" and managed through the "Business View Manager" (BVM), which is available as part of the Client Tools install.
To get the dynamic prompt into the repository, you have to check the "Enable Repository Refresh" checkbox at the bottom of the "Save As" screen after you log in to CRS. However, doing it this way is NOT best practice, especially if you're using the query from the report to provide the data for the prompt. If you do this for all of your reports, you get a LOT of bloat in the repository objects and it makes the job of migrating from one version of CRS to another MUCH more difficult!
What I've done in the past to get a simple "sample" prompt published is create a report that just contains the data that I want to have in the dynamic parameter using a single table - this is usually what I call a "lookup" table that has a "code" field and a "description" or "name" field. I then create a dynamic parameter in that report that just pulls the data from the single table. I'll publish the report to my favorites with the Repository Refresh enabled.
I then run the BVM and look for the following objects (default location is under "Cascading Dynamic Prompts":
<prompt name>_DC - This is the Data Connection for the prompt. Edit this, enter the password, and set it to "Never Prompt" for the password. NOTE: This DC can be reused by multiple prompts. If you continue to add prompts through publishing Crystal Reports with prompts, you will get MANY of these that all point to the same database!
<prompt name>_DF - This is the Data Foundation for the prompts. When you create a new one, you need to select an existing DC and then either one or more tables or write a command to provide the data for your prompt. It works much like the Database Explorer in Crystal. The one that was just saved has all of the information required for the prompt.
<prompt name>_BE - This is the Business Element. When you create one, you have to select and existing DF and one or more fields. You can also create a filter on the data. This is used to generate the SQL that will be run to provide the data for the prompt.
<prompt name>_ BV - This is the Business View. When you create one, you have to select the Business Element. I'm not sure of the exact purpose of this, but you have to have one in order to set up the "List of Values".
<prompt name> - This is the List of Values (LOV). This defines what fields are available for the prompt itself.
You can create folders to organize these objects so that its easier to maintain.
To use a LOV that you've defined in BVM to feed data to new dynamic prompts, do the following:
1. Connect to CRS from Crystal.
2. Create/Edit your prompt.
3. Set the prompt to be dynamic.
4. Under "Choose a Data Source", select "Existing" and select the LOV from the drop-down list.
5. Update the properties in the parameter.
When viewing or scheduling a report, the dynamic prompts will run through the Crystal Reports 2013 Report Application Server in CRS (it will be named differently if you're not on CRS 2013, but will have "Report Application Server" in the name.)
-Dell -
T-sql 2008 r2 place results from calling a stored procedure with parameters into a temp table
I would like to know if the following sql can be used to obtain specific columns from calling a stored procedure with parameters:
/* Create TempTable */
CREATE TABLE #tempTable
(MyDate SMALLDATETIME,
IntValue INT)
GO
/* Run SP and Insert Value in TempTable */
INSERT INTO #tempTable
(MyDate,
IntValue)
EXEC TestSP @parm1, @parm2
If the above does not work or there is a better way to accomplish this goal, please let me know how to change the sql?declare @result varchar(100), @dSQL nvarchar(MAX)
set @dSQL = 'exec @res = TestSP '''+@parm1+''','' '''+@parm2+' '' '
print @dSQL
EXECUTE sp_executesql @dSQL, N'@res varchar(100) OUTPUT', @res = @result OUTPUT
select @result
A complicated way of saying
EXEC @ret = TestSP @parm1, @parm2
SELECT @ret
And not only compliacated, it introduces a window for SQL injection.
Erland Sommarskog, SQL Server MVP, [email protected] -
AS2 Drag and Drop Interaction help
I am trying to create a reusable template for a drag and drop interaction.
There are 7 drag objects, 7 targets.
Based on a scenario we develop (which of the 7 services [drag objects] are the best solution, for example), I would like to create interactions where some of the drag drop combinations are correct answers and dragging/dropping other combinations would result in an "incorrect" answer.
I am having issues with designating the correct and incorrect responses in the AS code, as well as how to provide the positive (correct answers) and negative (incorrect answers) feedback after a submit button is selected.
Additionaly, I have a reset button that does not function the way I expected - move the drag objects back to the start position and allow the user to resubmit an answer.
I am using Flash CS5, but need to use AS2 as the swf file is going to be inserted into an Articulate Presenter project (Articulate does not support AS3 yet).
Thank you for any assistance or suggestions!
Source file: https://www.dropbox.com/home/AS2%20D&D#:::68035214
Current AS2 code:
function dragSetup(clip, targ) {
clip.onPress = function() {
startDrag(this);
this.beingDragged=true;
clip.onRelease = clip.onReleaseOutside=function () {
stopDrag();
this.beingDragged=false;
if (eval(this._droptarget) == targ) {
this.onTarget = true;
_root.targ.gotoAndStop(2);
} else {
this.onTarget = false;
_root.targ.gotoAndStop(1);
//the variables below will store the clips starting position
clip.myHomeX = clip._x;
clip.myHomeY = clip._y;
//the variables below will store the clips end position
clip.myFinalX = targ._x;
clip.myFinalY = targ._y;
clip.onEnterFrame = function() {
//all these actions basically just say "if the mouse is up (in other words - the clip is not being dragged)
// then move the MC back to its original starting point (with a smooth motion)"
if (!this.beingDragged && !this.onTarget) {
this._x -= (this._x-this.myHomeX)/5;
this._y -= (this._y-this.myHomeY)/5;
//if the circle is dropped on any part of the target it slides to the center of the target
} else if (!this.beingDragged && this.onTarget) {
this._x -= (this._x-this.myFinalX)/5;
this._y -= (this._y-this.myFinalY)/5;
dragSetup(drag1,drop1);
dragSetup(drag2,drop2);
dragSetup(drag3,drop3);
dragSetup(drag4,drop4);
dragSetup(drag5,drop5);
dragSetup(drag6,drop6);
dragSetup(drag7,drop7);
//this code controls the reset button function and returns all of the drag objects to the start position.
resetBtn.onRelease = function (){
drag1.onTarget=false;
drag1._x = drag1.myHomeX;
drag1._y = drag1.myHomeY;
drag2.onTarget=false;
drag2._x = drag2.myHomeX;
drag2._y = drag2.myHomeY;
drag3.onTarget=false;
drag3._x = drag3.myHomeX;
drag3._y = drag3.myHomeY;
drag4.onTarget=false;
drag4._x = drag4.myHomeX;
drag4._y = drag4.myHomeY;
drag5.onTarget=false;
drag5._x = drag5.myHomeX;
drag5._y = drag5.myHomeY;
drag6.onTarget=false;
drag6._x = drag6.myHomeX;
drag6._y = drag6.myHomeY;
drag7.onTarget=false;
drag7._x = drag7.myHomeX;
drag7._y = drag7.myHomeY;
//This code controls the submitBtn and feedback for a correct and incorrect answer
var groupID:Array = [0,0];
var incorrectFeedback:String = "That isn't correct.";
var correctFeedback:String = "Excellent good work.";
var answerGroup:Array = [
[drag1,drop1],
[drag2,drop2],
[drag3,drop3],
[drag4,drop4],
[drag5,drop5],
[drag6,drop6],
[drag7,drop7]];
//Enable all the stage items
resetBtn.onRelease = function()
resetAll();
submitBtn.onRelease = function()
if(evaluateAnswers())
feedbackTxt.text = correctFeedback;
else
feedbackTxt.text = incorrectFeedback;Here is an alternate link to the source / .fla file - orig link was not to my public dropbox!
https://www.dropbox.com/home#:::68035214
or
https://skydrive.live.com/?cid=bb539b6eff0afbf5&sc=documents&id=BB539B6EFF0AFBF5%21124# -
Need to calculate result using Macros
Dear All,
We are in BI.7.I'm new to VBA macros.I had inserted 2 reports in one work book and my requirement is need to do some calculations based on result1 and result2 , out put has to be displayed after 2 results.
Eg:
Workbook contains 2 reports ( tables 1 and 2) as follows:
Result 1 :
Table
Company code Qty
C1 100
C2 200
Result 2 :
Table
Company code Amount
C1 1000
C2 5000
Need to generate 3rd Table based on result1 and result 2 as follows
Final result
Table
Company code Price
C1 10 ( Result2. amount / Result1.Qty)
C2 25
My question is in which event I have to write the logic to get final result.
Thanks in advance.
Thanks and regards,
RajuHi Raju,
How are you?
Nice to hear this kind of issues. Please could you provide the issue solution details.
Thanks
Ram G -
Hi,
It is a basic DataControl question where I am facing some issues due to this.
I have created the DataControl form java webservice and using that DC in my ADF application. When I drag and drop my Data Control RESULT in my UI and select some specific output structure (Table or form or etc), it is pop-up the window with all the return parameters where I can enter the lables and hitting OK button.
While hitting OK button some times it is pop-up the next window where I can see the DataControl name on the top and the method input parameters list on the bottom of the window and I can enter the value for my input fields. But very few times I am getting this 2nd window popup. Not every time where after hit the OK button in the first window directly it is creating the table / form in the UI.
But I need this 2nd window to be popup inorder to carry forward my input parameters binding across my application. Please help me why am I not getting that method input list sometimes. Or is there any other file I can edit and set the method input parameter binding?? This is really helpful to solve one of my major project issue. Help plzzzz...
Thanks
klogubeArun & Puthanampatti
Thanks for the help. Yes I did the same and now I could able to carry forward my input param values from first page to 2nd and 3rd pages where the first page holding method input parameters via DataControl and the 2nd and 3rd pages holding the DC method;s return params. Can you please let me know how to set the new value for the input parameter mapping from 2nd to 3rd page.
*Ex: In first page have 2 input parameters values set to:(UserID1 = #{pageFlowScope.arg0} & UserID2 = #{pageFlowScope.arg1}). I am navigating to 2nd page where I am displaying the userSearch result it may be display more than 1 user. Now I am navigating to 3rd page by selecting any one of the user ID and want to display that selected user details in the 3rd page. Here I am using the same DataControl method result at 2nd and 3rd page.*
*So I want to set the selected userId value to #{pageFlowScope.arg1} before I navigate to 3rd page. Please help me how to change/set the value to the #{pageFlowScope.arg1}. This will solve my major issue. Thanks in advance.*
Thanks
klogube -
Compressor 4 drops frames when converting 25fps image sequences
I am using Compressor 4 to batch convert 30fps and 25fps 1080 tiff image sequences to Uncompressed 10bit 422.
I have created custom presets for both 30fps and 25fps.
The 30fps conversions are fine.
But the 25fps conversions have missing or dropped frames and the resulting clip is too short. For example a 106 frame image sequence becomes 88 frames when converted to Uncompressed 10bit 422 QT. (which suspiciously similar to the 83.33% difference between 25 & 30 fps)
I have double checked my setting and can not find a problem (see grab)
Any suggestions much appreciated.Update: I have found a work around for this problem, but it is not pretty!
By using the 30fps setting even for 25fps sequences, every frame gets included in the resulting QuickTime. But it plays at the wrong frame rate, so I then use Cinema Tools to change the frame rate to 25fps. Then everything is fine.
As Compressor 4 has been around for while, I can't believe this hasn't come up before! -
Hi guys,
I have a table with two column machine_ID and installed_Date,
what i want to do is create a view show that number of machine for each month with a condition that users can select the period of time that they want to know
So in the criteria i created two column:
Year(installed_Date)*100+Month(installed_Date) and Rsum( count ( distinct machine_ID)
but in this way it will show all the months, if i want just last year, what can i do?
Right now, i can just change the column of month like:
case when (installed_Date < TimestampAdd(SQL_TSI_YEAR, -1,Current_Date-DayofMonth(Current_Date)+1)) then Year(TimestampAdd(SQL_TSI_MONTH, -12,Current_Date))*100+Month(TimestampAdd(SQL_TSI_MONTH, -12,Current_Date)) else Year(installed_Date)*100+Month(installed_Date) end
but i want a more flexible method, thanks
MarcHi Sandeep,
use the condition Year(Install_Date) = year(current_date) -1, it will show just last year, that's ok, but it will not count the installed machine before,
if we check with the example i gave:
Month Installed_Count RSUM
200801 50 50
200902 100 150
200903 300 450
200904 500 950
200905 100 1050
the result will be:
200902 100
200903 400
200904 900
200905 1000
but what i want is:
Month RSUM
200902 150
200903 450
200904 950
200905 1050
Thanks for your response
Marc -
Two camera footage: one drop frame, one non-drop frame
We recently were delivered a batch of tapes for a two camera project that we're doing the post work on. The timecode was jammed to synch the two cameras. Unfortuantely, one of the cameras seems to be drop and the other non-drop. As a result, the tape that is showing as non-drop stops every couple of minutes for a timecode break in order to synch up with the jammed timecode.
The reality is that there is no break in footage in the sense that this footage was recorded as a real-time 30 minute presentation, but because timecode is being jammed, and because the tape was being recorded in non-drop frame, Final Cut cannot capture this footage in its entirety.
My only thought would be to capture through S-video out and place the footage on a timeline, and force the sequence timecode with the appropriate timecode.
Has anyone run into this issue before and know a better solution? Or if the above solution will work?Update: Rather than S-Video, we're setting the FCP capture setting to non-controllable device. That will give it higher quality, and so far, that is capturing just fine without the breaks.
-
How to drop multiple tables in SQL Workshop
Hi,
I'd like to drop multiple tables in one time but
SQL command processor returnes error message: ORA-00933.
Could you please tell me how to drop multiple tables in
one time?
My trial was follows
Drop table "table1", "table2"
Result
ORA-00933: SQL command not properly ended
Regards,
Hideki SakamotoHideki,
SQL syntax permits you to specify only one table in a DROP TABLE command.
The SQL Command Processor permits you to run one statement or PL/SQL block per submission.
So there are at least two ways you can do this. You could either upload or create a SQL script in SQL Workshop which contains your multiple statements:
drop table "table1"
drop table "table2"
or you could execute a single anonymous PL/SQL block in the SQL Command Processor, as in:
begin
execute immediate 'drop table "table1"';
execute immediate 'drop table "table2"';
end;
Joel
Maybe you are looking for
-
keep getting error message when exporting 12 min project from premier pro , never had this problem. Adobe tech used remote access to assist me with something and changed settings etc.
-
Hello, I am new to Oracle and I am having problems with this trigger: CREATE OR REPLACE TRIGGER myTrigger AFTER INSERT OR UPDATE OF aField ON myTable DECLARE myVariable NUMBER(2); BEGIN SELECT COUNT(keyColumn) INTO myVariable FROM myTable WHERE TO_CH
-
CAD Agent Unable to Login due PGUser Association in CUCM
Hi all, hope everyone is well. I am running a UCCE 7.5.8 environment with CAD 7.5.8 and CUCM 7.1.3 I am having some CAD agent suddenly unable to login to CAD due the following error "An unknow failure was receved from the Cisco Unified Communication
-
Inspection Lot with status CHCR
Hi, I am facing following problem in QM - I have maintained inspection type 03 & 04 in Inspection Set up for a raw material master. When I create PO & receive material against the PO, the inspection lot is created & material is posted to inspection.
-
Using "Pages" on a Mac book pro
Help please! We have an iMac with "pages" that we purchased. My son got a Mac book pro for Xmas, and needs pages on it for school. Is there a way that I can put this on his Mac book without paying for it again. If so, is it easy to do, and if so..