Code check please
Hi
have a mysql databse which includes colums: UserSex, UserEthnicity,UserAge, UserArea etc.
I've created a form using spry select to search the database for any combination or age, sex ethnicity etc.
When I add four test records to the database and then run the search page in the drop down box I see (for example) Male female,male female so it's listing the entry for every record.
A google search told me that in the record set I had to use SELECT DISTINCT
so I edited the record set as below
SELECT UserEthnicity, UserAge, UserTypes, UserArea
FROM users
But this hasn't stopped the duplicates.
Is this coding correct?
thanks
Ian
Sorry pasted the wrong code
SELECT DISTINCT UserEthnicity, UserAge, UserTypes, UserArea
FROM users
Ian
Similar Messages
-
please help me it is a card of 25 dollars and i dont want it to go to waist i by mistake thought you used a frake email so i made one up i thought i was going to have a new one but then it said it was going to send a verifaction to my email so then i tried to use a real email and put in the code but it just kept on saying invalid code. check the code and try again. and i dont know what to do can u please please help me it was a gift and i really dont want it to go to waist please i need help
for #1
Frequently asked questions about Apple ID - Apple Support
I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
If you are wondering how using multiple Apple IDs relate to iCloud, see Apple IDs and iCloud.
for #2
Apple does not accept unsolicited ideas see Apple - Legal - Unsolicited Idea Submission Policy -
When I enter my coupon code to get my serial number it says "Invalid coupon code. Please check the coupon code and re-enter." It is the correct coupon code. And I have just deactivated my lisence on my old computer.
If you had not deactivated it on the old computer and it is a Windows machine there would have been a chance of getting it using Belarc Advisor
(http://www.belarc.com/free_download.html). I do not know if you can still do so.
You can try contacting Adobe support via chat and see if they can help.
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC ) -
I am facing problem in starting ShellHWDetection service Error code 1075,please help
I am facing problem in starting ShellHWDetection service Error code 1075,please help
Shellhwdetection is a Windows service which stands for Shell Hardware Detection Service.
It provides notifications for AutoPlay hardware events.
System error code 1075 means "The dependency service does not exist or has been marked for deletion."
Please run services.msc, then find Shell Hardware Detection Service, view its dependencies
Make sure the three services are set to running "automatic" in Services.
If this doesn't help, then run sfc to check if there're some missing or corrupted files in system.
Yolanda Zhu
TechNet Community Support -
" Active Company Code check in Controlling Area"
Hi All
while assinging the Real Time Integration variant to company code. Getting the following error as
" Active company code check in controlling area."
any one can plz suggest me.
Moderator: Please, search before postingHi Ashok,
Thanks for the response.
Here in my case, when I insert the Tcodes related to conrolling like(KO01,KO02,KO03 etc) in a role, then I dont find any authorization objects(bukrs) which is related to the company code in the authorization genaration area in PFCG. So there is no way I can maintain values in them.
Please suggest any alternate solution.
Thanks and Regards,
Abdul Khyoom A -
How To Use PMD Code Checker in Jdeveloper 9
Hai
Please Any one tell me How To Use PMD Code Checker in Jdeveloper 9
ThanksTimo
You Checking file with PMD in **Jdeveloper** possible in jdev 10.1.3
for the earlier versions you told me to use command prompt
that's why when iam checking my file with pmd the output is like the below:
D:\jdev9\OAF\jdevbin\jdev\lib\ext\pmd-bin-4.2.5\pmd-4.2.5\java14\bin>pmd D:/satyas/Test.java xml rulesets/unusedcode.xml -debug
In JDK 1.5 mode
Loaded rule UnusedPrivateMethod
Loaded rule UnusedPrivateField
Loaded rule UnusedFormalParameter
Loaded rule UnusedLocalVariable
Processing D:\satyas\Test.java
Could not find class Test, due to: java.lang.ClassNotFoundException: Test
<?xml version="1.0" encoding="UTF-8"?>
<pmd version="4.2.5" timestamp="2010-08-24T19:02:07.019">
<file name="D:\satyas\Test.java">
<violation beginline="5" endline="5" begincolumn="22" endcolumn="22" rule="UnusedLocalVariable" ruleset="Unused Code Rules" class=
"Test" method="main" variable="i" externalInfoUrl="http://pmd.sourceforge.net/rules/unusedcode.html#UnusedLocalVariable" priority=
"3">
Avoid unused local variables such as 'i'.
</violation>
<violation beginline="14" endline="14" begincolumn="23" endcolumn="32" rule="UnusedPrivateMethod" ruleset="Unused Code Rules" clas
s="Test" method="myMethod" externalInfoUrl="http://pmd.sourceforge.net/rules/unusedcode.html#UnusedPrivateMethod" priority="3">
Avoid unused private methods such as 'myMethod()'.
</violation>
</file>
</pmd> -
Exit Code: 16
Please see specific errors below for troubleshooting. For example, ERROR: DW039 ...
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s)
ERROR: DW039: Failed to load deployment FileHi,
Please check this link: http://helpx.adobe.com/x-productkb/global/installation-launch-log-errors-creative.html
Thank You
Arjun -
I have tried downloading about 6 times and this is the message I keep getting. Pls. tell me what I am doing wrong
Exit Code: 7
Please see specific errors below for troubleshooting. For example, ERROR:
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 2 error(s)
ERROR: This installer does not support installation on a 64-Bit Windows operating system. Please download the 64-Bit version of Photoshop Elements.
ERROR: System check returned with error : 6I have tried downloading about 6 times and this is the message I keep gettingExit Code: 6, Exit Code: 7 Installation Errors - http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html for information on how to review your installation logs -
Tax Code (check box)
Hi FI Guru
As per our requirement we have to make Tax Code check box Ticked in all FI Transaction codes and it should always be ticked and grey(display) mode so no one can change its ticked status.
Kindly suggest how to make this field ticked and greyed.
Thanks & Regards
KeshavHi
You can do so by editing the necessary field status group and putting the tax check box as display only.
However, you would not need tax calculation for all cases. Be sure that you know, why you want all accounts to be tax relevant.
If I understand correctly, you will maintain the necessity of Tax Code in GL master through FS00 but you will keep it in display mode at document entry level.
Please clarify your exact requirement.
Please assign points if it meets your requirement.
Regards
Sanil Bhandari -
Trying to download ios 3 getting error code 8288 please help
Have a first generation ipod touch, trying to download ios 3 to computer getting error code 8288, please help.
I finally solved this on my own. I installed iTunes 9.2 on my Mac. You can get it from here:
http://support.apple.com/kb/dl1056
Then I went to the iOS 3 purchase page here:
http://support.apple.com/kb/HT2052
and clicked the Purchasing link. It opens up iTunes. I connected my iPod touch G1 and did a check for system update. Miraculously, it found it this time and downloaded the update.
No guarantee that this'll work for you, but I'm finally able to use my iPod touch again and put on some useful apps. -
Automatically "Code Check" and "Compile/Generate" program or function
Hello Experts;
We will do upgrade to ECC 6.0 at near time.
Our basis team will give us sendbox systems.
And then We will enter the all z or y programs and check "Unicode Checks active".
I want to do automatically "Code Check" and "Compile/Generate" with program.
But I don't know "which use function or program"
Please help me this point.
Thanks.
Best regards.HIi,
Try Tcode : SGEN
or
try this link
mass compile customer programs
Regards
Rajashiva.R -
Tax Jurisdiction Code Check as part of a Sales Order Partner Function
Hi,
I have a scenario where we modify partner information directly in the sales order. These partners are simple addresses and are not tax relevant. We have set them up as one-time customers. Every time when we modify the address information, Vertex kicks in and tries to match the address information (street, city and state) with a tax jurisdiction code. In our case the address information is high level (only city and state) which is not enough for Vertex. SAP issues then a blocking error message.
We try to find a way to ignore Vertex for these specific partners. In the documentation we have found a user exit, as well as a BADI, but our developpers were not able to make it work in the sales oder.
The user-exit is the following: EXIT_SAPLFYTX_USER_001
The BADI is the following: IF_EX_ADDRESS_SUBSCREEN
In EXIT_SAPLFYTX_USER_001, I've found a parameter (EXEMP_IND) which could enable to bypass the tax jurisdiction code check and the RFC call to Vertex.
In IF_EX_ADDRESS_SUBSCREEN, I've found a parameter (CHECK_ADDRESS) which could potentially bypass the check as well.
Did any of you already experience this scenario or would you have an idea about how I could make this work?
Thanks
LoicUnfortunately, the sales order is created through an interface (using iDOCs), and the external system feeding the iDOC for the sales order creation does not have any Zip Code information. Besides, even if the Zip Code is entered, it is still not enough for Vertex to choose automatically a Tax Jurisdiction Code, most of the times, it is also requiring a District, which again, will not be passed from the interface.
We went through this analysis already and we came to the conclusion that we need to bypass this check, as this partner function is not tax relevant.
Thanks,
Loic
Edited by: Loic Dominik on Jun 27, 2011 7:39 PM -
Exit Code: 7
Please see specific errors and warnings below for troubleshooting. For example, ERROR: DW041 ... WARNING: DW017 ...
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s), 1 warning(s)
WARNING: DW017: PayloadPolicyNode.SetAction: DN payload {9E0AF030-AC6B-11E0-8837-00215AEA26C9} Microsoft Visual C++ 2010 Redistributable Package (x86) 10.0.40219.1 is required by {B8ADDCBD-30D9-4366-AE25-089CEF76C8E1} Suite Shared Configuration CS6 3.0.0.0 but isn't free. Reason: Required dependency
ERROR: DW041: INSTALLDIR Volume E:\ doesn't exist.Errors "Exit Code: 6," "Exit Code: 7"
Mylenium -
Windows phone error code 80188301,. please need help
i am getting an error while updating my windows phone. windows phone error code 80188301,.
please need helpHi,
If issue persists after using the solutions provided by Aman Raizada, then I would suggest you ask the question in Windows Phone support forum:
http://www.windowsphone.com/en-US/how-to/wp-support
Regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
What's wrong with my code? please help....
when display button is clicked it must diplay the remarks but it didn't happen...
what's wrong with my code? please help
here is my code.....
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
public class Area extends Applet implements ItemListener,ActionListener
{Label arlbl = new Label("AREA");
Choice archc = new Choice();
Label extlbl = new Label("EXPENDITURE TYPE");
CheckboxGroup extchk = new CheckboxGroup();
Checkbox fchk = new Checkbox("FOOD",extchk,true);
Checkbox schk = new Checkbox("SHELTER",extchk,false);
Checkbox echk = new Checkbox("EDUCATION",extchk,false);
Checkbox uchk = new Checkbox("UTILITIES",extchk,false);
Label exalbl = new Label("EXPENDITURE AMOUNT");
TextField exatf = new TextField("",20);
Label remlbl = new Label("REMARKS");
TextField remtf = new TextField("",30);
Button disbtn = new Button("DISPLAY");
Button resbtn = new Button("RESET");
String display;
public void init()
{add(arlbl);
archc.add("MANILA");
archc.add("MAKATI");
archc.add("QUEZON");
archc.add("PASAY");
add(archc);
archc.addItemListener(this);
add(extlbl);
add(fchk);
fchk.addItemListener(this);
add(schk);
schk.addItemListener(this);
add(echk);
echk.addItemListener(this);
add(uchk);
uchk.addItemListener(this);
add(exalbl);
add(exatf);
add(remlbl);
add(remtf);
add(disbtn);
disbtn.addActionListener(this);
add(resbtn);
resbtn.addActionListener(this);
public void itemStateChanged(ItemEvent ex)
{int n = archc.getSelectedIndex();
if(n==0)
{if(fchk.getState())
{exatf.setText("10000.00");
display = archc.getSelectedItem();
if(schk.getState())
{exatf.setText("15000.00");
display = archc.getSelectedItem();
if(echk.getState())
{exatf.setText("24000.00");
display = archc.getSelectedItem();
if(uchk.getState())
{exatf.setText("8500.00");
display = archc.getSelectedItem();
if(n==1)
{if(fchk.getState())
{exatf.setText("5000.00");
display = archc.getSelectedItem();
if(schk.getState())
{exatf.setText("11000.00");
display = archc.getSelectedItem();
if(echk.getState())
{exatf.setText("7500.00");
display = archc.getSelectedItem();
if(uchk.getState())
{exatf.setText("24000.00");
display = archc.getSelectedItem();
if(n==2)
{if(fchk.getState())
{exatf.setText("13000.00");
display = archc.getSelectedItem();
if(schk.getState())
{exatf.setText("7000.00");
display = archc.getSelectedItem();
if(echk.getState())
{exatf.setText("27000.00");
display = archc.getSelectedItem();
if(uchk.getState())
{exatf.setText("6000.00");
display = archc.getSelectedItem();
if(n==3)
{if(fchk.getState())
{exatf.setText("6000.00");
display = archc.getSelectedItem();
if(schk.getState())
{exatf.setText("9000.00");
display = archc.getSelectedItem();
if(echk.getState())
{exatf.setText("15000.00");
display = archc.getSelectedItem();
if(uchk.getState())
{exatf.setText("19000.00");
display = archc.getSelectedItem();
public void actionPerformed(ActionEvent e)
{if(e.getSource() == disbtn)
{String amtstr = exatf.getText();
int amt = Integer.parseInt(amtstr);
{if(amt > 8000)
{remtf.setText(display + " IS ABOVE BUDGET");
else
{remtf.setText(display + " IS BELOW BUDGET");
if(e.getSource() == resbtn)
{archc.select(0);
fchk.setState(true);
schk.setState(false);
echk.setState(false);
uchk.setState(false);
exatf.setText("");
remtf.setText("");
Edited by: lovely23 on Feb 28, 2009 11:24 PMEdit: thanks for cross-posting this question on another forum. I now see that I wasted my time trying to study your code in the java-forums to help you with an answer that had already been answered elsewhere (here). Do you realize that we are volunteers, that our time is as valuable as yours? Apparently not. Cross-post again and many here will not help you again. I know that I won't.
Maybe you are looking for
-
Any others suffered the samr problem or know what action to take?
-
Intercompany: same price
Dear all, I am configure intercompany process but the client wants the same price in Goods Issue, Goods Receipt and Invocies. For example: Total value in Purchase Order is 100; But the Goods Issue is 80; The goods receipt must be 80 and not 100; and
-
Hi , i learn about event and i want an example how to do it in abap oo, e.g. trigger event when sales order is created or something else, maybe someone can help ? Regards
-
Getting Standard comm.type to appear for FD01 in SHDB Transaction Recorder
For some strange reason this field does not appear when trying to use SHDB to record FD01 to create a new customer. I checked the field status and it is showing as optional too. Does anyone have any thoughts on how to record this field properly?
-
Can't activate voicemail to erase messages.
I can't activate my voicemail. I know my mail box is full, but when I try to activate my voice mail it just says please wait signing in and doesn't do anything else? How can I erase messages from my voice mail?