Woo Hoo,
Thanks Rick!
I was getting confused with the crud names I'd given the tables and fields. I renamed them and rewrote the query with your suggestions and it works a treat!
SELECT Count(*) AS NumberOfQuestions, Category.CategoryName, QuestionTypes.QuestionTypeName
FROM QuestionTypes...
Thanks Rick,
I changed the typo in the code (I had cut and pasted it), made the joins inner types and added the count(*) and it's closer to working.
When I run the query, it pops up a box asking for the qcat and the qtypeid. So I type in 1 and 1 and it returns one line with the two numbers I...
Hi Guys,
I need some help with a couple of tables and a query. I am building a test generator for our teachers here (we are a school) and I have set up my tables as follows:
QCat:
QCatID - PK
QCat
QTypes: (Question Types eg, True/False, Multi Choice)
QTypeID - PK
QType
Questions:
QID - PK...
Solved it:
I load currentFocus = '' at startup.
when they focus on my iframe i set currentFocus = 'iFrame'
when they click outisde that it goes back to currentFocus = ''
Yay :)
And this is the code to do it with a drop down box :) Note: the three images I used were in the same directory as my script.
<html><head>
<script language="javascript" type="text/javascript">
<!--
function image_go()
{
selecteditem = myForm.myImages.selectedIndex ...
Hi Zas,
You could try something simple like this:
Have your thumbnails as <img> with a A HREF around them:
<a href="#" onClick="card.src='/images/ecards/BigImage.jpg';">
And your main image called "card" (in this example)
<img...
Hi Guys,
Could someone please tell me how I can tell if my iframe is in focus? I'm writing a wysiwyg editor using the execcommand in javascript and ie and if the focus is outside of the iframe (on the main page body) then my buttons will write their output to the main page rather than the...
<SCRIPT LANGUAGE = "JavaScript">
function ConFirm(x) {
if (confirm("Do you want to delete this?")) {
window.open(x,"_self");
}
}
</script>
<a href="#" onmousedown=javascript:ConFirm(TODO.php);">
<img src="gfx/checked.gif"...
Hi,
Can someone please tell me where I'm going wrong here.
I'm making my own bill payment system in asp. A Select box is filled with the Names of the Billers.
<option value="<%= rs( "BillerID" ) %>"><%= rs( "BillerName" ) %></option>
And hidden field is assigned...
Hi Guys,
Have been handed a working project and have very little understanding of how it works (Im an asp web person)
Can someone please help me with the following.
When a user searches for a Surname in this program, if the Surname is not found it returns an error of:
"Run-time error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.