64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jck6288

create a query that will display total no of employee and no of employee that hired in 1995,96,97 from employee table.. my employee table have field like emp_id name hire_date.

Member Avatar for nav33n
-2
98
Member Avatar for Israelsimba

i know that a select statement is the best way to go around retrieving records from a database. the problem im facing is selecting a record then assigning a certain field from that record to a variable eg x..... so in simple english, it has to be something like....select clientnumber …

Member Avatar for AndreRet
0
133
Member Avatar for jorgejch

Hello, I've started with python (3) recently. Initialy only for scripting. Now I'm trying the object oriented bit. I'm getting the following error message [CODE] <Atom.Atom object at 0x7f0b09597fd0> Traceback (most recent call last): File "./Main.py", line 7, in <module> print (t.getAtomName()) File "/home/jorge/Documentos/projetos/mestrado/códigos/cartesian_zmatrix/Atom.py", line 22, in getAtomName return atomName …

Member Avatar for woooee
0
591
Member Avatar for Calaesto

Hi, I'm stuck on some tables from MS Access. I have the following: Items: itemId(PK), Naam Combo: comboId(PK), Naam Combineren (combination): ID(PK), itemId(FK), comboId(FK) I want my app to show ComboNaam with ItemsNaam in my dataGridView in the following form: [CODE]string queryString = "SELECT Combo.Naam FROM Combo ORDER BY Naam"; …

Member Avatar for mikiurban
0
97
Member Avatar for mahela007
Member Avatar for scrace89

[CODE]area = ((length ** 2) * numSides) / (4 * (math.tan(FULL_ROTATION / (2 * numSides)\ )))[/CODE] this is my thought but I can't figure it out, I always get the wrong value. I need to get my answer in degrees. but even when i use [CODE]return math.degrees(area)[/CODE] at the end …

Member Avatar for vegaseat
0
121
Member Avatar for avirag

Hi all, How can i convert the excel worksheet into MS Access database, such that all the fields & data of excel becomes the fields of database, and then i could use that database for adding new item, modify and delete. I want to do this so as to avoid …

Member Avatar for DdoubleD
0
289
Member Avatar for sanchitgarg

I want to check the input of the user. Only positive nos are allowed. I want to pass the input of the user to a function which checks that if it is i positive no. then it allows the user to continue further otherwise it gives an error and asks …

Member Avatar for sanchitgarg
0
86
Member Avatar for CuteCat

I can't figure out what's wrong - I was remaking the code from an older and messier version, but now I've hit a roadblock because what I say in the actionPerformed section just doesn't happen. I suspect that it's because of the Timer, which a friend adviced me to link …

Member Avatar for javaAddict
0
202
Member Avatar for xuexue

hi there, i am making a website. my problem is that, i have multiple users who should access the same page, now what i want is that, my login code will work whenever users will access it simultaneously. the problem is that, the code just checks the first logged in …

Member Avatar for xuexue
0
105
Member Avatar for ruwanaru

This is the error [CODE]Warning: Cannot modify header information - headers already sent by (output started at /home/rejocoma/public_html/login-registor/do_login.php:9) in /home/rejocoma/public_html/login-registor/do_login.php on line 40[/CODE] and this comming only on my hosting not in local machine ita unix hosting solution can any one give me a help on this im a new …

Member Avatar for venkat0904
0
116
Member Avatar for vuyiswamb

Good Day All i have the Following Function [CODE] private static void OMEGA_calcActvEqv() { SqlConnection conn1 = CommonFunctions.getSQLConnectionForThread(THREAD_DATA[0].ToString()); string SQL = "SELECT MAX(D.OFFS + 1) * MAX(R.OFFS + 1) FROM TBL_ROWS R, TBL_CLMN D; SELECT MAX(OFFS + 1) FROM TBL_ROWS;"; SqlCommand cmd = new SqlCommand(SQL, conn1); SqlDataReader rdr = cmd.ExecuteReader(); …

Member Avatar for vuyiswamb
0
2K
Member Avatar for samlabs821

Hi !! i faced problem with javascript. When I call function change() it applies only second element that is link2. I wanted when i click the link, the link name must appear to textfield.can anyone help?? here is code: [code=html] <html> <body> <form> <a id="static" href="staticContentAdmin.ioml">link1</a></br> <a id="static" href="staticContentAdmin.ioml">link2</a></br> <input …

Member Avatar for samlabs821
0
171
Member Avatar for Daniel_Crouse

Hi I'am a beginner in C#. I would like to know how to connect to a database using C#. I'am using Visual Studio 2008.

Member Avatar for Daniel_Crouse
0
128
Member Avatar for denizen08

[CODE]#include <cmath> long double NR(long double sample) { return (abs(f(sample)))<=1e-10 ? sample: NR( (sample - f(sample)/fp(sample))); } long double f(long double sample) { return 2.5*exp(-sample)-3*sin(sample); } long double fp(long double sample) { return -2.5*exp(-sample)-3*cos(sample); }[/CODE] I'm trying to write code for a Newton-Raphson algorithm. I have it in recursive form …

Member Avatar for denizen08
0
184
Member Avatar for babylonlion

Hi everyone, I'm trying to write a code that converts the number that a user inputs to either Celsius or Fahrenheit simply by pressing a button. So far I was able to compile and run the program displaying the panel, buttons, and the text field but I'm not sure how …

Member Avatar for babylonlion
0
771
Member Avatar for guccitan88

Hi, new learner to C++. I have to write 4 functions to compute and return the diameter, circumference, etc. of a circle. I think I might be on the right track but I'm probably making this harder than it has to be. I commented most code out because I'd like …

Member Avatar for guccitan88
0
104
Member Avatar for CasperG

Hi, hope you can help, i am quite new to this. I need to know who to write data from several text boxes on a form to a sql database. I have created the sql database on a localhost using myphp admin, i have created the connection in a module …

Member Avatar for CasperG
0
126
Member Avatar for Vector_Joe

Hi, I've dabbled in some programming in the past, but nothing serious. I'm trying to create an array of objects in python 2.6 (VPython). What I want to do is create a 2d grid of sphere()'s. But I want to be able to manipulate each one individually after they are …

Member Avatar for bumsfeld
0
854
Member Avatar for feddie1984

Hi All, I have the following code: [CODE]$requester_email = $_POST['requester_email']; $requester_name = $_POST['requester_name']; $todays_date = $_POST['todays_date']; $Start_Date = $_POST['Start_Date']; $End_Date = $_POST['End_Date']; $Department = $_POST['Department']; $No_Engineers_Required = $_POST['No_Engineers_Required']; $Prefered_Engineers = $_POST['Prefered_Engineers']; $Customer_Name = $_POST['Customer_Name']; $Location = $_POST['Location']; $Type_Of_Job = $_POST['Type_Of_Job']; $Job_Ref_No = $_POST['Job_Ref_No']; $Additional_info = $_POST['Additional_info'];[/CODE] The help I need …

Member Avatar for feddie1984
0
154
Member Avatar for Tech B

I tried installing pcapy 0.10.4 and i get an error. C:>setup.py install running install running build running build_ext building 'pcapy' extension C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nolog /0x /MD /W3 /GS- /DNDEBUG -DWIN32=1 -Ic:\devel\oss\wpdpack\Include - IC:\Python26\include -IC:\Python26\PC /Tppcapdumper.cc /Fobuild\temp.win32-2.6\Release\pcapdumper.obj pcapdumper.cc pcapdumper.cc(12) : fatal error C1083: Cannot open include …

Member Avatar for bumsfeld
0
541
Member Avatar for localtechguy

HI! I am trying to find a way to plug some data that is spit out of a mysql query into another mysql query. example. [CODE] $zip1 = $_POST[zip1]; "SELECT * FROM zipcodedb WHERE ZipCode >= '". $zip1 ."'" [/CODE] lets say i get that query to spit out these …

Member Avatar for localtechguy
0
104
Member Avatar for EvolutionFallen

Hi, I'm using GD to dynamically draw a rectangle on an image I have of a map. I've got that part working fine. Here's my question: I know I need to set the headers of the page to [icode]content-type: image/png[/icode], otherwise I get a bunch of characters instead of the …

Member Avatar for EvolutionFallen
0
101
Member Avatar for unsure

I have tried and tried to figure out what it is I am have wrong. I have an assignment to create a program that calculates employee's bonus. I think I pretty much have it, but I keep getting an error that I cant figure out and what the error is …

Member Avatar for Nick Evan
0
141
Member Avatar for kapcom01

Sorry to bother again:) but im new to Python and to OOP. I made a simple sniffer application (thanks to your help) which prints the sniffed data on the console. I want to extend it giving it a GUI using PyQt4. I also made an argument "--nogui" that the user …

Member Avatar for kapcom01
0
2K
Member Avatar for Soundgarden

Howdy all hope everyone is having fun with there own projects! But i have come once again to be a pain in the ^**^. I need to know an easy way of doing this -> as an example say: I would like to some how use a MultiDarray in this …

Member Avatar for Soundgarden
0
396
Member Avatar for eggmatters

Hi all, UDATE: Let's not hastily rush into this. I may have found my problem. BTW, my result set is populated with all of the required data. I have a custom renderer which renders table cell values from a query. The result data is populated into a 2 dimensional array. …

Member Avatar for eggmatters
0
110
Member Avatar for Kruptein

Hi I'm trying to find a way to find the first avogadro cipher whose digital sum exceeds 100, I've come to: [code=python]#!/usr/bin/python def dig_sum(n): lst = list(str(n)) ln = len(lst) sm = 0 while(i < ln): sm += int(lst[i]) return sm def avo(i,j,k,c): k = j j = i + …

Member Avatar for Kruptein
0
318
Member Avatar for Behi Jon

Hi, When I want to get a string with getline function, it jumps from this statement without getting string . Because I get an integer number before it and the \n is pressed . To solving this problem I use cin >> ws before getting string with getline function . …

Member Avatar for Behi Jon
0
148
Member Avatar for hjdoran

Hi gang, I have a unique challenge that I just cannot seem to get by...I have a form with a series of listboxes that allows the user to rename items in the listbox (I probably should be using a listview control instead). When the user right-clicks and selects rename from …

Member Avatar for mikiurban
0
112
Member Avatar for jmangu

Hello, I'm trying to compile a program related with serial communication via RS232. I've found this program at microsoft page [url]http://support.microsoft.com/?scid=kb%3Ben-us%3B39501&x=9&y=11#top[/url]. When I try to compile this same program in Dev C++ editor the following message appears: bios.h: No such file or directory. Please, help me about what can I …

Member Avatar for Ancient Dragon
1
3K
Member Avatar for whitestream6

I've just been learning arrays, and so far it's going well :) This is my current PHP code: [CODE]<?php $states = array ('MD' => 'Maryland', 'IL' => 'Illinois', 'MI' => 'Michigan'); $provinces = array ('QC' => 'Quebec', 'AB' => 'Alberta'); $abbr = array ('US' => $states, 'Canada' => $provinces); $japanesemotors …

Member Avatar for nav33n
1
192
Member Avatar for maverick0612

I am attempting to write a program that evaluates a mathematical expression after parsing it. I have the parser correct, using a string to strip it into tokens and compare it to grammar rules to validate the expression. It should be able to evaluate expressions of type (3+2)*4+-1= where negative …

Member Avatar for maverick0612
0
120
Member Avatar for Musafir

Trying to write a function but don't known how to start. trying to make a function that ask the user for the current population and displays the population after 1/2 years unitil it reaches 1 million at a rate of 8% per year. for example Year 1, population 864000 Year …

Member Avatar for woooee
0
115
Member Avatar for oldSoftDev

[code]List result = q.list(); if (result.isEmpty()){ System.out.println("No Projects"); } else{ for(Object object : result){ Project p = (Project) object; System.out.println(p.getName()+" worked on by "+p.getEmployees().getName()); } }[/code] [Quote] error : CompanyReports.java:303: cannot find symbol symbol : method getName() location: interface java.util.List<Employee> System.out.println(p.getName()+" worked on by "+p.getEmployees().getName()); ^ 1 error[/Quote] Can anyone …

Member Avatar for oldSoftDev
0
129
Member Avatar for lifeworks

Hi Im setting up a news distribution system... sort of... i want to record everyone who downloads the news articles... so ive blocked direct linking to the pdf files using an htaccess file. my htaccess file redirects people to a page which captures where they came from ( for interests …

Member Avatar for Airshow
0
146
Member Avatar for erees

I'm sure I missed something simple but I'm getting frustrated with this code simply because I'm so sure it should work. I have created a short program for exporting some XML data was use at the office into .tsv files. I have a thread dedicated to reading the xml data …

Member Avatar for erees
0
199
Member Avatar for LaChavvy

Hello, This is my first post so I hope this is clear and in the correct place. I am having trouble dealing with the traverse method of Custom Item in J2me. What I want to do is have two custom items, one is "start game", the other "instructions" as menu …

Member Avatar for LaChavvy
0
111
Member Avatar for ym_chaitu

[CODE]<?php include("access.php"); mysql_select_db($dbname); $user="ym_chaitu"; //$e=mysql_query("select email from userlogin where username='$user'"); //$email=mysql_query($e,0); $query = mysql_query("SELECT username,password FROM userlogin WHERE username = '$user'") or die(mysql_error()); $data = mysql_result($query); echo $data; ?>[/CODE] this is my code,,when i am using it out, it is giving me an error Warning: Wrong parameter count for mysql_result() …

Member Avatar for nav33n
0
90
Member Avatar for GTJava

[CODE] import java.util.Scanner; public class primenumbertest { public boolean isPrime(int num){ int x; Scanner input = new Scanner(System.in); System.out.print("Enter a number to find out if it's prime or not (greater than 1): "); num = input.nextInt(); if (num == 2) return true; // check for divisible by all even number …

Member Avatar for GTJava
0
123
Member Avatar for ruwanaru

I am New in web designing What i want is i have one List/Menu its called Make it's containing some vehicles Brands when i selected a brand name i want another list/menu display the models that relevant to Brand this is a screen shot that what i need [IMG]http://i256.photobucket.com/albums/hh192/magnificent_roo/model.gif[/IMG] some …

Member Avatar for ruwanaru
0
728
Member Avatar for col415

[B]Bsplayer is a videoplayer. I want to start bsplayer with the parameter -stime-x, where x is the amount of seconds. This result in playing a movie from say 23 minutes 10 seconds with the parameter -stime=1390. The whole thing I can manage to do in [COLOR="Green"][U]DOS[/U][/COLOR] and looks like: @echo …

Member Avatar for col415
0
142
Member Avatar for murderotica

I've been busy learning windows service these days. I have here a windows service application that monitors a folder then logs all the activities inside that folder. I want my windows service to show in the system tray, how do I integrate my windows service and the notify icon? Thanks! …

Member Avatar for navjyotnishant
0
1K
Member Avatar for teatime

I have to build a media player in C# for my final project and I'm not sure where to begin. I want it to be able to play most of the video and audio formats and have basic features like a track bar, a play list, and the option to …

Member Avatar for teatime
0
171
Member Avatar for 21KristianN

Dear everybody I really need your help!! I have made a small application in Visual Basic 2008 Express. It's a small form application with a Database connected to the project. (made from the wizard in VB express) My problem is that when I deploy my application i can't find the …

Member Avatar for 21KristianN
1
204
Member Avatar for buffalo0

Hi, i need to pass a value from an asp.net application to a php page stored online. Having searched around I can not find a easy solution to this can anyone point me in the right direction please. Many Thanks

Member Avatar for Ramesh S
0
109
Member Avatar for esesili

Dear All, First of all, I do not know if this is the correct place or not but I am having problems about playing video by using opencv. I am trying to play an .avi video. I did exactly the same thing as tutorial but the code below does not …

Member Avatar for Nick Evan
0
140
Member Avatar for sathya8819

Hi, I am trying to implement a project where I need to detect something. I have the digitized form of a human cell and I need to detect regions separately in the image. This part is over. The next part is where I have to detect overlapping regions. Another part …

Member Avatar for sathya8819
0
235
Member Avatar for cute.sridhar

Hi, I am trying Serial Port Communication in Linux using Javacomm API and RxTx. I'm configured RxTx as per the documentation. But I received an error as follows, Exception in thread "main" java.lang.UnsatisfiedLinkError:com.sun.comm.SunrayInfo.isSessionActive()Z. Would you help me please..

Member Avatar for gunjannigam
0
216
Member Avatar for kool.net

hiii, I m new to create reports in c#, so can any one tell me how to i create crystal reportsusing my queries?? & How to show it??? Is there any namespace for using crystal report actually my prg give a error at compile tym : the error is related …

Member Avatar for avirag
0
199

The End.