Correct.
SELECT RecType, Max(Col3)
FROM tblMy
GROUP BY RecType;
If you need also Row, try this:
SELECT Last(Row), RecType, Max(Col3)
FROM tblMy
GROUP BY RecType;
Yep, my mistake - last minute change :)
SELECT Row, RecType, Max(Col3)
FROM tblMy
GROUP BY Row, RecType;
If you do not need row,you can saely delete from select and from group by.
One option:
Use a global variable nextpage and set in your pages accordingly. Script will remain the same.
<html>
<head>
<title> 1 </title>
<script language="JavaScript">
nextpage = 2
function mynext(){
strNextpage = "MyTour" + nextpage + ".htm";
document.location...
Give it a try:
<INPUT type=button NAME="TEMP" onClick='EG "aaa","sss"'>
calling function with parameters is without parenthnesses
The check should be:
if(window.winArray[i] != null && !window.winArray[i].closed)
not as typed:
if(window.winArray[i] != null && !winArray[i].window.closed)
I've bothered to check your code and found the error:
Definition of functionin menucode.js is:
function cm_makeMenu(name,parent,text,link,target,width,height,<other params>)
You use in your menu.js like:
oCMenu.makeMenu('sub01','top0','<p align=center>Board...
I got your question.
As far as I know you cannot do this due to security reasons.
May be I'm wrong.
I would suggest to rethink your task and use another approach - may be putting what you need in function in file 1.asp and the use directive #include in 2.asp and use the function you need there...
Hello,
Your task could be better solved with server side using a database.
If you do not have database it will be usefull to have a file to write to at server side.
If it is only client side it will be very difficult to achieve the result you want.
Please specify your problem.
It always pull all you asked for in your SELECT statement.
Use something like this:
//select top 25 will return only 25 records and it will be quicker!
//the code is metacode - you'll have to adjust the syntax
pageSize = 25
//next page
myCommand = "SELECT TOP " + pageSize + "...
On small pc - win nt workstation has to be installed.
If it is possible only W2k professional to be installed, I have to buy new licences, but I'll persuade my boss.
Thank you.
Hello all,
Sitiation is the following:
I have set up an W2K advanced server as PDC.
I also have 12 machines with NT workstation on them.
Unfortunately only one of th eworkstations has CD-ROM.
On one of the others (CD-ROM-less) something went wrong and I need to reinstal the software.
Is there a...
You can't do that - it will break browser security.
Try some different methods - like not writing into brwoser history (in javascript you can use location.replace(url) or location.href=url ) or disabling back button.
Hello, I have worked for a while with brinkster - nice service.
Only db directory has the permissions to write. in you r code you use \stevehigham\db\steveData\Poll.mdb - move the database in db directory and set to db/Poll.mdb - it should work.
Event handler onSubmit works only with real submit.
You have to change the type:
<input type="submit" name="submit" value="submit">
They look the same, but their functions differ.
Hope that helps.
Your question is not very clear.
If you want at the end of your page to have a button that copies all the text and then paste in a new Word document, solution is one.
If you want to have an input box where user can type an address and then press a button to copy the text from that addres and...
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.