I've managed to fix it. It seems you need put the anchor arround some text i.e.
<tr><td colSpan=16><b><font face=Tahoma size=2><a name="DNCCAlloc">Use</a> the following to assist with Allocation : Enter the time and % of Allocation</FONT></B></TD></TR>
Also, I was having a bit of a noob...
I'm sorry I can't see why this would make it work!
Another thing is that the input tag is written as a string in the pages' process tag, so I can't input double quotes.
Andrew Chamberlain
National Grid
Feherke
<input type=text name=AllocHour onchange=window.location.href='WebESP.ASP?WCI=DNCC&WCE=SetAllocation&AllocHourBar=16&AllocPercVal=25.25#DNCCAlloc' size=10 style='text-align: center; font-family:Tahoma' value=16>
Hope this is what you meant
Andrew Chamberlain
National Grid
I've looked over the forums and the internet, but don't seem to be able to make this work.
This is my current code
<input type=text name=AllocHour onchange=window.location.href='WebESP.ASP?WCI=DNCC&WCE=SetAllocation&AllocHourBar='+AllocHour.value+'&AllocPercVal='+AllocPerc.value size=10...
I've now had confirmation from my colleague that something like that should work.
If I add, for example
<a name=wibble></a>
into my HTML and then at the end of my url that refreshes that page, have '#wibble', the page should goto that position.
Feherke, in answer to your question, the button...
Hi all
I have a webpage that allows a user to update via input boxes. All is well and works like a treat but they have requested that the page, after refresh, keeps it's position.
For example, the page is quite long and there are input boxes at the bottom of the page. When the user enters a...
LOL. That'll do it.
My Software Engineer supervisor has just informed me after I told him about your reply that javascript is case sensitive.
Thank you for pointing me in the right direction.
Andrew Chamberlain
National Grid
Really confused about this.
I have a 8 input boxes on my html page. On change of the boxes, I need the page to refresh. This works for 4 input boxes, but the other 4 error with an 'Object Expected' error. Can anybody suggest anything?
ONE THAT DOESN'T WORK
<input type=text name=LTSLinepack...
Cheers for your comments.
I can't move the code to AfterUpdate, because by clicking on the list box, I'm not updating, so doesn't run the code.
Good news though, I've found the problem.
If you turn the tab stop option off for the list box, the issue is resolved.
Andrew Chamberlain
National...
It's pretty straight forward stuff. There is definately no code calling this onclick event.
Bit of extra info on the whats happening in the code. It's pulling it's data from a sql server table. txtDate, txtEffFrom and txtEffTo are activeX date controls, txtEnteredBy and txtEnteredOn are...
Try this
Sub DeleteTable()
Dim tbl As TableDef
For Each tbl In CurrentDb.TableDefs
If tbl.Name = "Table1" Then
CurrentDb.TableDefs.Delete tbl.Name
End If
Next tbl
End Sub
Andrew Chamberlain
National Grid
I have a form and on the form I have a list box which onclick will populate text boxes with the data held in the list box enabling a user to change and save the data.
However, for some very annoying reason, whatever I click on in the form (i.e. command buttons) the list box onclick code runs...
I have this bit of VB Script that writes the results of a recordset to my asp page. However nothing happens where the 'vbtabs' are located. Is it possible to do this and if so can somebody amend for me.
rs.open "SELECT ID, Year, Venue, Course1, Course2, Winner FROM tblTrophyWinners",objConn...
Funny you should mention that. I happened to check that 2 hours after I first received the fault. No I didn't have it installed.
However, I have tried installing it since then via Add/Remove but it can't seem to find staxmem.dl_ on my disk, when clearly it is there.
Any more thoughts...
I have seen and read other posts regarding this, but I can't seem to work this out.
I am working on Windows XP Proffesional with VB6 and SP5 but I keep receiving 'Internet Information Server or Peer Web Services version 3.0 or later must be installed to run WebClasses'.
Anybody got any...
I have searched this forum and found many people with the same problem, but there have been no conclusive answers to the problem. So I thought I would give it another shot.
Firstly, my PC has just been rebuilt. The line of code written below used to work and works on all other PC's in the...
I have a huge array that I want to split without looping through it.
The big array is two dimensioned and holds, for example, 3000 rows and 365 columns. I want in my new smaller array the first 200 rows and columns 184 to 365 from the big array. Is there any way to instantly pull this data...
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.