Posts
 
Reputation
Joined
Last Seen
Ranked #787
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
15
Posts with Upvotes
12
Upvoting Members
10
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
4 Commented Posts
~71.0K People Reached
Interests
-Mountain Biking -Travelling / World Heritage Sites -PS3 Gaming -Photography
PC Specs
-Java -VB -SQL -PHP/HTML/XML -Drupal
Favorite Tags

138 Posted Topics

Member Avatar for GeKKeR

Hi Ezzaral, Can you please explain how you get the Integer of the selected item? Yes I can return the selected string by [code] combo.getSelectedItem(); [/code] but how do I get it's int returned by the getValue() method? Thanks in advance, Cleo123

Member Avatar for JamesCherrill
0
725
Member Avatar for uurcnyldrm

It's printerJob, I would advise you to take a look at oracle documents which explain everything to do with setting the jobs, rendering with the Printable interface and opening the printer dialog. Go through the document list and look at the examples and you should be able to then put …

Member Avatar for dongiulio
0
643
Member Avatar for lendyl16

Exactly what the title says... Look closely at line 3. [code] Rs.Open "Select * from tblpayroll where EmployeeID= '"+ Trim(txtEmpID.Text) +"' ", Cn [/code]

Member Avatar for mustaffa hasan
0
166
Member Avatar for Jake.20

No, if the recipient doesn't have SQL Server Management Studio, he/she will need a program to open the file. Either ssms.exe or sqlwb.exe.

Member Avatar for Jake.20
0
158
Member Avatar for LFCDay123

Create a button and the command button wizard will pop up. Go to the category, Form Operations and choose 'Open Form'. A list of your forms will appear/ and select the form you want it to go to when the button is clicked. Then you can write the text you …

Member Avatar for razamughal67
0
199
Member Avatar for sparchitect

Would you like the total of the 5 total sales? You will need to add these up before you convert to string including a result variable. [code] total = total + intStore [/code] Post your error, what to you want to fix/improve here?

Member Avatar for mustaffa hasan
0
140
Member Avatar for Sonny101
Member Avatar for aloncito
0
554
Member Avatar for anita.kcx

Unfortunately, GoDaddy doesn't allow you to increase your database size limit. However you can have more than one database, if you upgrade you account plan. If you have the Economy plan, you can have 10 databases, Deluxe gives you 25 database and you can also have an Unlimited plan. The …

Member Avatar for effectiveMySQL
0
2K
Member Avatar for StephNicolaou

All, Is it at all possible to have a 'multiple items' form based on a query, plus have a combo box added to it, with the control source of a field already on the form. Issues: 1. When the combo box is given the control source of a field already …

0
93
Member Avatar for Kirielson

I am assuming you have an EMPLOYEE & CART entity with each of their primary key and attributes, in addition to a link table, e.g. EMPLOYEE_CART with the foreign keys, Employee_ID, Cart_ID and the Sum. So to store each instance, use the INSERT INTO statement. E.g. INSERT INTO EMPLOYEE_CART VALUES …

Member Avatar for Kirielson
0
155
Member Avatar for sirlink99

Yes, you do not *have* to include the username or password. I'm not sure if you are familiar with the database connection syntax, but you can just exclude the username and password variables from the connection string. E.g. [URL="http://www.java-samples.com/showtutorial.php?tutorialid=9"]http://www.java-samples.com/showtutorial.php?tutorialid=9[/URL] There are alternative methods such as the grant element to allow …

Member Avatar for masijade
0
123
Member Avatar for seemeamal

Yes, this is possible. To select a range of rows, you use the LIMIT element. E.G. SELECT * FROM tbl LIMIT 5,10; # Retrieve rows 6-15 "With two arguments, the first argument specifies the offset of the first row to return, and the second specifies the MAXIMUM number of rows …

Member Avatar for seemeamal
0
108
Member Avatar for riahc3

Try this with variables defined and without the getbytes method for now: [code] try { InetAddress adr = InetAddress.getByName("173.194.35.133"); System.out.println("Reachable Host: "+adr.isReachable(3000)); boolean status = inet.isReachable(3000); System.out.println("Reachable Host:" + status); } catch (IOException e) { e.printStackTrace(); } [/code] Either using the boolean or not. Hope that helps :)

Member Avatar for riahc3
0
984
Member Avatar for RDane

Student_ID is not a string, could you change line 9 to: [code]pst.setInt(1, txtid.getInt());[/code] Yes, you can usually execute to different prepared statements. Hope that helps :)

Member Avatar for javalover
0
474
Member Avatar for stevenbeatsmith

Your insert SQL statement is always expecting there to be 8 images and so the undefined variables are the empty files being found. Your SQL needs to be more dynamic, counting the number of files you have prior to the SQL statement. Here is a working example of a dynamic …

Member Avatar for stevenbeatsmith
0
232
Member Avatar for svatstika

Are you able to move line 47 where you are doing this to line 16 and just make the frame visible when the button is hit instead? Could you also inform us of the error message you're receiving? Thanks :)

Member Avatar for NormR1
0
279
Member Avatar for mtho

Modify the double percentage symbols to a single percentage symbol, e.g. '%M %e, %Y' Double percentages are a literal % symbol. Here is a MySQL guide to every format available: [URL="http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_date-format"]http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_date-format[/URL] Hope that helps :)

Member Avatar for rajeevphp2011
0
194
Member Avatar for TIM_M_91

Try changing the equals to VALUES() E.G. [code] UPDATE TABLE2 SET VIDEOID,VIDEONAME,DIRECTOR,RATING,PLAYCOUNT VALUES ( 'VIDEOID','VIDEONAME','DIRECTOR','RATING','PLAYCOUNT') FROM TABLE1 [/code] Another UPDATE that is possible: E.G.2 [CODE] INSERT INTO TBL1 ( A, B, C ) SELECT tbl.[A], tbl.[B], tbl.[C] FROM aTBL AS tbl [/CODE]

Member Avatar for StephNicolaou
0
793
Member Avatar for stanley87

Use the INTO statement after your SQL SELECT statement (..as UniqueClick..) before the FROM elememt. So .. INTO tableName tableName will then be created on the fly if not already created, else updated. [url]http://www.w3schools.com/sql/sql_select_into.asp[/url]

Member Avatar for stanley87
0
134
Member Avatar for dvspinay

Initially it looks like you're giving us your assignment to do, "Here is my assignment: Here is your assignment: " and your code isn't in code tags which will put a lot of people off! You don't really need to setSize a JTextField if you have already constructed it with …

Member Avatar for bedwards0978
0
344
Member Avatar for sikarenpo

Why don't you assign name into a global variable $a before you close the connection on line 13 (part one) i.e. place this line [code]$a=$row['name'];[/code] after line 12. Alternatively use the same statement on the other page.

Member Avatar for simplypixie
0
167
Member Avatar for parulparashar

Research the company website, wikiJobs, the financial times news, company news & events in general. Get on linkedIn, follow their company, view their updates and get connected to the contacts that visit your school/uni. Make sure you take your CV (with all relevant experience) and/or business cards - which you …

Member Avatar for StephNicolaou
0
95
Member Avatar for rahulroshan
Member Avatar for smantscheff
0
584
Member Avatar for riahc3

[code] public static int getLineNumber() { return Thread.currentThread().getStackTrace()[3].getLineNumber(); } [/code] "The index will change based on the JVM version. I believe it changed from 1.4 to 1.5". Resource: [URL="http://bit.ly/xLDhVJ"]http://bit.ly/xLDhVJ[/URL] I have changed the index to [3] instead of [2] but try either based on the version you are using until …

Member Avatar for StephNicolaou
0
124
Member Avatar for wonderlandslost

Hi there. You are receiving incompatible types because x is and int and z is a double. Also, are you allowed to change from public parent to Shape myShape = new Shape[10] ?

Member Avatar for wonderlandslost
0
307
Member Avatar for ForceStr

Under your main method (public static void main(String[] args)) call a createAndShowGUI() method that constucts and sets visible the main frame you want to use. Then under your public method you can use the JMenubar package to create menu items that open your other frames. Using this you can create …

Member Avatar for ForceStr
0
148
Member Avatar for dsmith12

Without reading through your whole code, a simple way would to just use the scanner class, "Please enter your name and surname". [code] Scanner sc = new Scanner(System.in); string name = sc.next(); string surname = sc.next(); sc.close(); [/code] [URL="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Scanner.html"]http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Scanner.html[/URL]

Member Avatar for StephNicolaou
0
195
Member Avatar for nakresimin

Yes, connect to your database as you would normally, connection paths, etc. And use the SQL statement, DELETE * FROM TBLNAME1, TABLENAME2 ... How would that database look? The tables would just be empty and you would have to make sure you also delete foreign relational data to ensure you …

Member Avatar for Biiim
0
187
Member Avatar for Goitsheka Radit

Well, it depends how complicated/realistic you want this program to be. If you've wrote the database, you should have students, the courses they are assigned to, their lecturers and their timetables, etc! Then you can add a database table linked to the courses tables for all the course's assignments/examinations and …

Member Avatar for StephNicolaou
0
93
Member Avatar for ynehs

The best way is the IsNumeric(inputValue) method saying: [CODE] If Not IsNumeric(inputValue) Then MsgBox "Please enter a number!" Else do whatever End If [/CODE] Another way is using an if statement checking for 1, 2 and 3 - not a wide range of numbers to say: [code] If not (inputValue …

Member Avatar for Jx_Man
0
2K
Member Avatar for deyesborn

Have you checked you php.ini file to see whether you SMTP address and port details are correct? I can't see line 38 in sendmail.php but that's the first place I would look according to your error message.

Member Avatar for karthik_ppts
0
3K
Member Avatar for MDanz

Select all the fields you want to use and place MAX() around the field you want. Then you have to group by everything youve selected and order by a field ID. [code] SELECT TBL.field1, MAX(TBL.field2) FROM TBL WHERE TBL.childid on TBL.childid and (parent.name LIKE '%$search%') GROUP BY field1, field2ID ORDER …

Member Avatar for Biiim
0
597
Member Avatar for LFCDay123

First you have to drag and drop the combo box into the form. Then, under the Form Load event in the Code Builder, you call the two options, I'm assuming from a database, using the RowSource method and SQL: [code] Me.ComboBox.RowSource = "SELECT * FROM [Duties] IN '" & DatabasePath …

Member Avatar for StephNicolaou
0
135
Member Avatar for amrita111

Not really, if the foreign key value changes, it loses the relational link to the primary key. So you then lose the integrity of the information as the row values will link to another primary key value of different data, or nothing if it doesn't exist causing an error. You …

Member Avatar for amrita111
0
138
Member Avatar for svbs

Since this is your first post, try to make sure you use the code brackets next time you post. First things that come to mind is checking your refresh-rate, setting the image as background, reducing the size of your window/ enlarging your picture and checking all of your window properties. …

Member Avatar for abelingaw
0
69
Member Avatar for vijiraghs

Yes, on logging in each user will have a session, also opening the data relevant to them from an SQL query... Look at where the sumbit blog button code is and add the 2point's global variable to the user's total points variable which can then be stored in the user's …

Member Avatar for vijiraghs
0
252
Member Avatar for cskinittest

To go to then next question, you just need to increment the question_id value by one each time the next button is pressed. Then just increment a count value every time an option box is selected.

Member Avatar for StephNicolaou
0
93
Member Avatar for divsok

Not if it works like a Microsoft disc license or Sky TV link codes where you can use them on a limited number of computers.

Member Avatar for StephNicolaou
0
116
Member Avatar for Tiidi

I got the query to work using this statement: [code] SELECT * FROM eshop_flat_sales_order WHERE (((status)="complete") AND ((customer_email)="a(at)a.com")); [/code] You would have to replace "a(at)a.com" as a variable name input from your front end, along with "complete" if you would like the user to select the status as well. In …

Member Avatar for StephNicolaou
0
135
Member Avatar for klemme

I would advise you to try and place the DISTINCT element at the beginning of the statement and work from there, e.g. [code] SELECT DISTINCT brands.brand_id FROM brands INNER JOIN products ON brands.brand_id = products.brand_id WHERE products.stock > 0" [/code] Alternatively, remove the inner join and use the match in …

Member Avatar for StephNicolaou
0
17K
Member Avatar for javaprog200

I can't see anywhere that you have constructed any frame or panel in which to add to the frame to then set it frame visible, you can also use a Container... e.g. [code] JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.PAGE_AXIS)); p.add(label1); p.add(label2); [/code] I would suggest you look at …

Member Avatar for NormR1
0
144
Member Avatar for Mike Askew

Can you please post your XML? I would initially check your node names and structure.

Member Avatar for StephNicolaou
0
203
Member Avatar for jeevanism

One option is to use a while in JavaScript with a boolean to indicate an upload is being carried out: [code] while (uploading = true) { document.getElementById("123").disabled = true; or document.theForm.theButton.disabled; } [/code]

Member Avatar for StephNicolaou
0
71
Member Avatar for anand01

Firstly, you're missing the master data for the people attending the lecture table. You can either have 2 tables; Student Master and Staff Master or a Persons table with a Student/Staff drop-down menu from a PersonsType table. 2. You don't really need two TimeTable's, you can add a Join table …

Member Avatar for anand01
0
223
Member Avatar for calebcook

You could try following these instructions before using the return value for the presentation (line 6). These use the Input method: [URL="http://stackoverflow.com/questions/938796/vba-read-lines-from-text-file-exclude-top-two-lines"]http://stackoverflow.com/questions/938796/vba-read-lines-from-text-file-exclude-top-two-lines[/URL] [URL="http://vbadud.blogspot.com/2007/06/vba-read-text-files-with-leading.html"]http://vbadud.blogspot.com/2007/06/vba-read-text-files-with-leading.html[/URL]

Member Avatar for StephNicolaou
0
379
Member Avatar for TIM_M_91

Under the form load, you can enter: [code]Me.ComboName.RowSource = "SELECT [TBL].[IDField1], [TBL].[NameField2] FROM [TBL] IN '" & DBpath & "' ORDER BY [IDField1];"[/code] Or have you solved this thread completely? Mark as solved if so...

Member Avatar for rushikesh jadha
0
144
Member Avatar for ravsau

You could try doing something practical like: - A banking system - A grid navigation system - An employee HR system - A game like pacman, battleships, connect 4 These are good ways where you are going to get a lot of interaction with the user, however for most things …

Member Avatar for StephNicolaou
-2
260
Member Avatar for sjohnfernandas

The username and password on the connection has to be the username and password of the database. Post the code you have... And if all else fails the DAO method is a lot easier. [code] Dim rs As DAO.Recordset Dim db As DAO.Database Set db = CurrentDb Dim path As …

Member Avatar for StephNicolaou
0
259
Member Avatar for mk.hashmie

The problem may be with s.name, try using a variable without the dot.

Member Avatar for jumbowat
0
78
Member Avatar for ram619

I would say that once 5 is decremented to 0, it stays as 0 as all you have is 'return 0' doing nothing else, and you have no system exit at that point.

Member Avatar for ram619
0
99

The End.