<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community</title>
		<link>http://www.daniweb.com/forums/</link>
		<description>Tech support, programming, web development, and internet marketing community. Forums to get free computer help and support.</description>
		<language>en-US</language>
		<lastBuildDate>Sun, 20 Dec 2009 03:55:46 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>implementing supertype-subtype</title>
			<link>http://www.daniweb.com/forums/thread247337.html</link>
			<pubDate>Fri, 18 Dec 2009 05:47:39 GMT</pubDate>
			<description><![CDATA[my project needs an implementation of supertype-subtype, however, we haven't tackled that topic yet at school. i know the concept of supertype-subtype, but i don't know how to write it out on mssql. i even don't know how to insert data using supertype-subtype. 
 
here's the reqs's: 
* there is a...]]></description>
			<content:encoded><![CDATA[<div>my project needs an implementation of supertype-subtype, however, we haven't tackled that topic yet at school. i know the concept of supertype-subtype, but i don't know how to write it out on mssql. i even don't know how to insert data using supertype-subtype.<br />
<br />
here's the reqs's:<br />
* there is a supertype named DOCUMENT. it has attributes such as DATE ISSUED, NAME OF REQUESTOR..<br />
* one subtype is clearance<br />
* another subtype is business clearance<br />
<br />
now my question:<br />
* how would i code this in mssql?<br />
* how would i enter data if, for example, i will get a business clearance document?<br />
<br />
please help me out. i'm completely lost.<br />
<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum127.html">MS SQL</category>
			<dc:creator>scias23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread247337.html</guid>
		</item>
		<item>
			<title>database suggestions</title>
			<link>http://www.daniweb.com/forums/thread243381.html</link>
			<pubDate>Thu, 03 Dec 2009 14:59:57 GMT</pubDate>
			<description><![CDATA[last semester, i did an airline reservation system. we need to create another system for this semester. any suggestions? [except inventory and enrollment systems] 
 
thanks]]></description>
			<content:encoded><![CDATA[<div>last semester, i did an airline reservation system. we need to create another system for this semester. any suggestions? [except inventory and enrollment systems]<br />
<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum127.html">MS SQL</category>
			<dc:creator>scias23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243381.html</guid>
		</item>
		<item>
			<title>executing a .java file from another .java file</title>
			<link>http://www.daniweb.com/forums/thread229499.html</link>
			<pubDate>Mon, 12 Oct 2009 11:18:49 GMT</pubDate>
			<description><![CDATA[WHAT i want to happen is, when i click the CALCULATOR menu item, my separate Calculator.java will run on the MenuShortCut JFrame. 
 
AGAIN, i want the separate .java file to appear on THE SAME JFrame of MenuShortCut class. 
 
here's what i've got 
 
import javax.swing.*; 
import java.awt.event.*; 
...]]></description>
			<content:encoded><![CDATA[<div>WHAT i want to happen is, when i click the CALCULATOR menu item, my separate Calculator.java will run on the MenuShortCut JFrame.<br />
<br />
AGAIN, i want the separate .java file to appear on THE SAME JFrame of MenuShortCut class.<br />
<br />
here's what i've got<br />
 <pre style="margin:20px; line-height:13px">import javax.swing.*;<br />
import java.awt.event.*;<br />
<br />
public class MenuShortcut extends JFrame implements ActionListener{<br />
&nbsp; &nbsp; JMenuBar menuBar;<br />
&nbsp; &nbsp; JMenu files,help;<br />
&nbsp; &nbsp; JMenuItem cs&#91;&#93;,calc,game,exit,about;<br />
<br />
&nbsp; &nbsp; public MenuShortcut() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; super(&quot;Team Shrek&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; menuBar = new JMenuBar();<br />
&nbsp; &nbsp; &nbsp; &nbsp; files = new JMenu(&quot;File&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; help = new JMenu(&quot;Help&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; cs = new JMenuItem&#91;5&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; calc = new JMenuItem(&quot;Calculator&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; game = new JMenuItem(&quot;Word Game&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; exit = new JMenuItem(&quot;Exit&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; about = new JMenuItem(&quot;About&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; for(int i=0;i&lt;5;i++) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs&#91;i&#93; = new JMenuItem(&quot;CaseStudy &quot;+(i+1));<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs&#91;i&#93;.addActionListener(this);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; files.add(cs&#91;i&#93;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; files.addSeparator();<br />
&nbsp; &nbsp; &nbsp; &nbsp; files.add(calc);<br />
&nbsp; &nbsp; &nbsp; &nbsp; files.add(game);<br />
&nbsp; &nbsp; &nbsp; &nbsp; files.addSeparator();<br />
&nbsp; &nbsp; &nbsp; &nbsp; files.add(exit);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; help.add(about);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; menuBar.add(files);<br />
&nbsp; &nbsp; &nbsp; &nbsp; menuBar.add(help);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; setJMenuBar(menuBar);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; setSize(250,200);<br />
&nbsp; &nbsp; &nbsp; &nbsp; setVisible(true);<br />
&nbsp; &nbsp; &nbsp; &nbsp; setDefaultCloseOperation(EXIT_ON_CLOSE);<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; public static void main(String&#91;&#93; args) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; new MenuShortcut();<br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; public void actionPerformed(ActionEvent e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; //some events here<br />
&nbsp; &nbsp; }<br />
}</pre><br />
can i do that using this?<br />
 <pre style="margin:20px; line-height:13px">Runtime.getRuntime().exec( &quot;java programname.java&quot; );</pre><br />
if yes, codes do i need to add in order to get it working? (i get unreported exception error)<br />
<br />
thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum9.html">Java</category>
			<dc:creator>scias23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229499.html</guid>
		</item>
		<item>
			<title>insert data into two separate table / 2 queries in same php file</title>
			<link>http://www.daniweb.com/forums/thread229316.html</link>
			<pubDate>Sun, 11 Oct 2009 15:02:46 GMT</pubDate>
			<description><![CDATA[i can't get this from working. i want to execute these two queries ebcause i want to insert data to two separate table. 
 
is it possible to do this with one query? 
 
this is what i've got so far: 
 
	$sql = "INSERT INTO login SET  
		studNo = $studNo, 
		userName = $user, 
		password = $pass,]]></description>
			<content:encoded><![CDATA[<div>i can't get this from working. i want to execute these two queries ebcause i want to insert data to two separate table.<br />
<br />
is it possible to do this with one query?<br />
<br />
this is what i've got so far:<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; $sql = &quot;INSERT INTO login SET <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; studNo = $studNo,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; userName = $user,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; password = $pass,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dateRegistered = NOW()&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; $sql2 = &quot;INSERT INTO users SET <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; studNo = $studNo,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lastName = $lName,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; firstName = $fName,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gender = $gender,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bMonth = $month,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bDay = $day,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bYear = $year,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; address = $address,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cellNo = $phone,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; email = $email&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; if(mysql_num_rows(@mysql_query(&quot;SELECT * FROM classlist WHERE num = '$studNo'&quot;))) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(mysql_num_rows(@mysql_query(&quot;SELECT studNo FROM login WHERE studNo = '$studNo'&quot;))) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $flag = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $headMsg = &quot;Registration Error&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $msg = &quot;You have already registered.&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @mysql_query($sql);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; @mysql_query($sq2);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $flag = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $headMsg = &quot;Registration Unsuccessful&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $msg = &quot;Your student number doesn't exist in the database.&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>scias23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229316.html</guid>
		</item>
		<item>
			<title>enabling relations in phpmyadmin</title>
			<link>http://www.daniweb.com/forums/thread226769.html</link>
			<pubDate>Wed, 30 Sep 2009 11:59:21 GMT</pubDate>
			<description><![CDATA[i want to relate my tables, but i can't find out how to relate the tables. 
 
how?]]></description>
			<content:encoded><![CDATA[<div>i want to relate my tables, but i can't find out how to relate the tables.<br />
<br />
how?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum126.html">MySQL</category>
			<dc:creator>scias23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226769.html</guid>
		</item>
		<item>
			<title>creating login dialog box.</title>
			<link>http://www.daniweb.com/forums/thread225448.html</link>
			<pubDate>Thu, 24 Sep 2009 14:34:04 GMT</pubDate>
			<description>how do i create a login dialog box in my database that does this, 
1. there are two blank textboxes. one for username, and one for password. 
2. when the user clicks the submit button, it will look for a match of the username in the table, then checks if the password entered in the dialog box...</description>
			<content:encoded><![CDATA[<div>how do i create a login dialog box in my database that does this,<br />
1. there are two blank textboxes. one for username, and one for password.<br />
2. when the user clicks the submit button, it will look for a match of the username in the table, then checks if the password entered in the dialog box matches the password record in the database. if not match, it will not login.<br />
<br />
what i've created is two textboxes, but the username value appears on the dialog box. i used validation rules so that the user specified in the validation rule can access the database. however, if i want to add new user, i have to modify the validation rule. i don't want it that way. i want it to search the table for matching username.<br />
<br />
help!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum128.html">MS Access and FileMaker Pro</category>
			<dc:creator>scias23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread225448.html</guid>
		</item>
	</channel>
</rss>
