Vector Position Delete

How can I delete an specific position within a vector?I have a list of e-mails to be sent but there's duplicated values which I'd like to remove.I added a function that locates the duplicates and tells the vector position I can find them, but don't have a clue how to remove them.

View Replies


ADVERTISEMENT

How Can I Get The 5th Position Of A Field?

I'm querying a table and the column has 6 positions. I need to check if the 5th position is a 2,3,6 or 7. If so I want to set a variable = "Y". Can someone help me out with this?

View Replies View Related

Using Position: Absolute.

I am using position feature for images...although its placing the image on the HTML file using the top left corner of the image. Anybody know how to make it use the center of the image?

<img src="image.gif" style="position: absolute; left: 54; top: 34">

View Replies View Related

Starting Position

I have a access db and I want to pull some info out of it with VBScript. How can I specify a starting record?For example, I want to start at the 15th record and pull everything beyond that out.

View Replies View Related

Cursor In Position

When a page is opened is there a way to set focus of the cursor to a named input. I want the cursor to be in the input box when the page is opened.

View Replies View Related

Letter At Certain Position

After I read in a value from a table i need to read in the last letter of the value and check if it has an "s" as its last letter, so that i can display either ' or 's.

Does anyone know how code to view the last letter of the value or move the variable into javascript so that I can manipulate it from their?

View Replies View Related

Position Within Page....

I've just gone to Google and there's a link saying "add world cup live
scores..."

I clicked on that link and there are a whole lot of boxes containing content
that I can pick up and drag around, changing their relative position on the
screen.

Fantastic - but how do they do this (were can I read up on this?)

View Replies View Related

Getting Select Position

I have been working on this site for the last couple of weeks and i am now in the process of testing and have found a problem.

Basically it is on my jscript function. I have written that if the value is >= 2000 do something else do something else, which is fine with the exception that the value isn't always going to go up in 1000's (sometimes it will be 1-10 others 500-5000 others 1000 - 10000[these values are generated within select tags]).

Basically i am wanting to know is there any way that i can use the select tag to work out the position from within the tag. For example if the position >= 2nd in list do this else do something else.

View Replies View Related

Set A Panel's Position

I have put serveral panel controls within a page, each of them matching to a action defined by buttons, so I want to fix all panels in one place( they already have same size, but different left, top values), how can I do it (in code, if I do it in desgn, is there a way to put the panels in different "layers" so the contained controls will not interupt with each other)?

View Replies View Related

Position Of An Element

I use an array of elements and I want to know the position of a given element in my array
I know the filter function that allows to determine if the element i look for is in the array but this function doesn't allow me to know its position.

View Replies View Related

Occurence And Position

how do i find the occurence and position of a variable in a csv string. e.g. how do i find "hello" in hi,who,where,how,hello,greetings,xmas,etc. The starting position and if it occurs ? I tried using instr but cant seem to get it right.

View Replies View Related

Getting Webpage Position To Work

I am having a prob with getting for example, ASP Free Forums > Programming > etc, to display properly. I can get it to work sort of but need to be able to read in a value and be able to change it before its displayed.

It works on the first page but when going to other pages it doesn't. Also when going back to the original page, topic.asp where it works, from view topic the formatting disapears which is a mystery to me. Here is the code that gets it to work on the topic.asp page:section = Trim(Request("Section")) Code:

View Replies View Related

Getting Index Details (eg #position) From Url

The code below takes the script name of a page (which is always an asp file) and substitutes the asp extension with html and then inserts the file in the <frame> tag.

This code works file for a url such as www.somesite.com/file.asp But if the url includes an index eg www.somesite.com/file.asp#position1 how do I get the #position1 added to the file name that is used in the <frame> tag? Is there a server variable for # info? Code:

View Replies View Related

Hold The Position On Next Page

We have a page that loads a long list of things. Each row has an onclick where you can open a window for more information. When you do that the parent page refreshes to the top of the page....so if you were near the bottom, you would have to scroll back down to get back to where you were. I would like the parent page to hold its position when the child opens.

View Replies View Related

SQL 2K Rowset Position Cannot Be Restarted

Im attempting to grab results from a stored procedure and toss them in a recordset. Unfortunately, I cannot open a recordset that can move forward and backward. I have tried to simply chance the rs.CursorType but this results in a connection timeout..

Code: ....

View Replies View Related

Changing Ordinal Position

how to change the ordinal number of a field and the field datatype in Access using ASP?

View Replies View Related

Browser Startup Position

Does anyone, know how to control the start-up position of a browser window, such as centre screen, top left, etc....

View Replies View Related

Find Position Of A Char In A String

i have a string and want to find the position of the first '-' in it.
example i have :

"RCD-0-183"
I need to output : 0-183

View Replies View Related

Changing Ordinal Position And Datatype

Does anyone know how to change the ordinal number of a field and the field datatype in Access using ASP?

View Replies View Related

ASP Write Method - How To Position The Cursor

I'm building a text file from a database table using the ASP
Write Method and would like to position the cursor in a specific
column position before writing the fields. As I loop through and write
the fields into strings of rows, I want to be able to put field1 in
row1/column position1, field2 in row1/column position10,.....etc.

I've included the basic code to write a string of text. I understand
the process of how to write the fields and loop, etc. If you would be
kind enough to just show me in there the syntax for positioning the
cursor before the write I will then apply it to my code:

View Replies View Related

Scroll Position On Refresh Of Page

I have an asp page that shows dynamic data. I have it refreshing every 10 seconds. It is a very long page and when it refreshes it goes back to the top. I want the page to refresh and keep its same position.

View Replies View Related

Text Disply In Backward Position

I have four select options on my page. I want to display some text for each selection of my options. This display shoould be in the previous <td>. Here is the code:

View Replies View Related

Reset Document Position After Form Refresh

I have an asp form. The page is kind long. After user scroll down and make some change on the items, the form needs to be refreshed with new selections (some controls may disabled based on the selection).

My question is, each time after the refresh, the form always go back to the top position. Since the form is quiet long. User may get frustrated if he/she have to scroll down the page to find the current position each time after make a selection change. Is there a way to remember the document postion before refresh the form, and reset the position after the refresh? I guess some javascript code may be able to do it. But so far I have no clue at all.

View Replies View Related

Selecting Tables From A Drop Down Box With No Fixed Position On Screen?

i am designing a search engine, you select the search options from five choices in a drop down box, each option reveals a table, but the tables have fixed positions on the html page.

i need it so that if only one option is picked to search and it is the last option on the drop down list, that it will appear at the top of the page? i dont have a clue what type of function to write to do this or what techniques will be involved!

View Replies View Related

Bookmarking A Position In A Table <table>

Have an app which dynamically creates table rows depending on records, these can be several hundred (don't ask). Hence a very long page at time. Each row includes a hyper link to a new page, and a link back to the original page.

Is there any method (maybe via js) where on leaving the second page l can redirect the browser to the table row the end user clicked on? Hence the bookmarking. Can do this via Visual Basic on the desktop app, but can't work it out on the web app.

View Replies View Related

FSO Delete

I have this code that deletes a file using FSO but it wont work Code:

View Replies View Related

ADD/DELETE In ASP

I am trying to delete all the records from one table and insert a few in the same table.
When I run the asp it gives me the error message

"Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Could not delete from specified tables."

Before opening the connection to the database, I tried setting the mode to 3 as follows:

Set Conn = Server.CreateObject("ADODB.Connection")
conn.Mode= 3

Then I open the connection. But it still gives me the same error.

View Replies View Related

Delete Value

How do you delete from the objRs when you choose the value to be deleted form a dropdown menu?

View Replies View Related

Delete

i would like to be able to delete a record from a database this is the code i have atm but it is not working:

if request.querystring("action") = "delete" then
strSQL = "DELETE * FROM DVDDescription WHERE DVDDesc_ID=" & request.querystring("DVDDesc_ID") & ";"
objRS.open strSQL,conn,1,2
'objRS.close

end if

Code:

View Replies View Related

SQL Delete Timeout

I'm getting an error from something that seems too easy to cause
trouble. Here's the scenario. User fills out a form. User saves. On
submit, an asp script attempts to save the data. it deletes all of
existing child records, and then re-inserts new child records.

Heres the chunk of code thats bombing out with a 'Microsoft OLE DB
Provider for SQL Server error '80040e31' ':

'delete all children for this Parent record
strSQL = "DELETE FROM qcspec_is_tasks WHERE parentID = " & nRecID
debugPrint strSQL
cn.Execute strSQL

The print statement yeilds the following, before the Execute statement
dies:

DELETE FROM qcspec_is_tasks WHERE parentID = 20

If I run the above in query analyzer, it executes instantly.

Incidentally, at this point in time, the table is tiny. Its only 50
rows or so, at the moment.

View Replies View Related

Delete Query

I have this query

strsql = "Delete FROM College_List WHERE
STDID = (Select ID from Students where StudentID='" & getstdid & "')"

i get this error

Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

but i want to delete all the records in the child table that have the ID in the parent table which is students.

View Replies View Related

ASP And ASP.net Cookies - Delete It

During the development, I need to test cookies (ASP and ASP.net).

For the first time I test (First username), it writes the cookies into my computer using the First username, and when I want to test second time, using another user name (Second username), it wont't show up the login page, but instead it automatically let me access the protected page (using the first test username).

Question: I want to delete this cookies! How?

I have searched:

Temporary folder, and can't find it.
Document and settings (W2000 Professional), and can't find it as well.

View Replies View Related

'Email' Delete

The easiest way to describe my situation is by using the 'email' example. I retrieve my email messages and place a 'delete' checkbox by each message. I select the messages I want to delete and then click the delete button. They magically disappear.

I'm using ASP-->COM-->Stored Proc. I've envisioned creating a recordset to hand to the COM, then for each record fire the stored proc (although I'm unfamiliar with modifying a recordset before a form submit).

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved