Edit Combining Data

I am trying to edit data from this form in ASp/HTML but because both the field that I am editing is in the text box that has the same name, it is combining the data from both the field and updating in the table. Is there a way I can change the name of the text box progammically?

View Replies


ADVERTISEMENT

Combining An AND With An OR

I have this query that isn't working for me. This is a simple phonebook (first name and last name) form. Trying to accept wildcards. Here is the statement as I see it: Code:

Query = "SELECT cn,telephonenumber,mail FROM 'table' WHERE (cn = '" & FName & "' OR cn = '* " & FName & "') AND (cn = '" & LName & "' OR cn = '* " & LName & "')"

But this isn't working. Where am I messing up the syntax?

View Replies View Related

Combining 2 Sql Strings

I have 2 SQL strings:

SELECT *
FROM NK_editie " & MM_whereConst & " " & whereClause & "
ORDER BY editie desc

And

SELECT *
FROM NK_editie INNER JOIN NK_edities ON NK_editie.editieid = NK_edities.ID
ORDER BY editie desc

Now I want to combine those 2 to one string.

I have problems to set it up in working order.
My tryout:
SELECT *
FROM NK_editie INNER JOIN NK_edities ON NK_editie.editieid = NK_edities.ID &
" & MM_whereConst & " " & whereClause & "
ORDER BY editie desc

It shows al the records which are joined, only the second string " & MM_whereConst & " " & whereClause & " is not working.

View Replies View Related

Combining Values

I've created a web form with multiple textfields for acquiring somes date of birth (i.e. textbox for DD, textbox for MM, textbox for YYYY), now what I'm trying to do is grab the values from these objects and combine into 1 session variable, which later on is inserted into an ACCESS database.How do I append these values together to be one value in a session variable (i.e 23122004). I have a input mask inside the ACCESS database, so it needs to go in this format. I assume once I have captured these 3 fields, I need to convert them to integer, and then merge?

View Replies View Related

Combining Rows

I have a database used by another application, i want to be able to manipulate the data stored in the database, the problem is that the way the information is stored its awkward(assume this is purposely so), but i cannot change the db structure at all, so heres my problem: Each Person in this database will have multiple comments stored against them:

ID | CommentCode | LineNum | ValueData
1234 COMM1 1 Something about thi
1234 COMM1 2 s person seperated ov
1234 COMM1 3 er multiple lines
1234 COMM2 1 Something else about
1234 COMM2 2 them

What i want to do is circle through the recordset and combine the multiple lines of the same comment, any ideas/examples?

View Replies View Related

Combining Two Sql Queries

I need to take two seperate queries and put them in a single html table, but i want to combine the sets of data 'while selecting them' so i can use the SQL sort by command to arrange the whole table by date..

sorting the two queries independantly then dumping them to the table results in both queries being sorted independantly, ie the most recent entry(by date) of the second set of data ends up in th emiddle of the table.. any ideas?

View Replies View Related

Combining 2 Variables In A ASP Form

It's regarding an ASP FORM for the credit card process:

I'm collecting credit card information on my secured server. When collecting the Month and Year values (for the expiration date of the card) with Select/Option tags, I don't have a way to concatenate them together prior to submitting the form so I can post them in the format the gateway asked me for (e.g. "mmyy" or "mmyyyy")

Do you have a way where I can submitt those variables togehter in such format? Code:

View Replies View Related

Combining Index Server And SQL Server Search Results

I'm just about to start a project that needs to combine the results of a SQL
Server query with the results of an Index Server query. The basic idea is
that the user enters/selects a bunch of search criteria on a form.

Most of
the criteria selected by the user will be used to select records from the
database - standard WHERE clause stuff - but the user can also enter
free-text that should be searched for in associated uploaded documents.

The
documents are sitting in the file-system with file-name pointers only stored
in the database (not the document). Only records where the associated
free-text is found in the documents should be returned. I'm new to Index
Server and am wondering how is this done. Any good references/tutes?

View Replies View Related

Edit

I want to display a recordset in an editable form. The TblID can be a listbox and the content related to the id will be displayed where i can edit them i've tried everything and nothing is workin so if some1 can help me i will be gr8full. (w/ VBscript Only)
PS: If some has a URL or a code to share i will appriciate it . i know it's so much to ask but i really need it and i've reached a dead end .

View Replies View Related

Edit A Drop Down Box In Asp

I need to be able to edit a drop down box is asp. On my web app I
populate a drop down box from a databse. The user can then select an
option that will then be saved to a Database for example

Mr
Mrs
Miss

but if the option is not their e.g Dr, Prof etc then I want them to be
able to enter in the drop down box and then I will save this to the
database.

I know that I will have to have a function to dynamically re-populate
the Drop down box to include this option once the new value has been
entered, so that it will be included in the POST method.

But I can't even edit the text. I have tried

<SELECT>
<OPTION selected contenteditable=true> value="Mr">Mr</OPTION>
</SELECT>

and

<SELECT contenteditable=true>
<OPTION selected> value="Mr">Mr</OPTION>
</SELECT>

View Replies View Related

Edit A Form

I have a form which I would like to allow a customer to edit/update. I need to populate the text boxes with retrieved data and then allow customer to select 'update' button. I can't figure out the syntax to place the retrieved value within an input box.
I have this so far, which obviously doesn't work - double quotes etc. Tried double and single quotes but no value appears.
Also tried placing retrieved value within variable, but didn';t work either.

<input type="text" name="FirstName" value="<%=rsdetails("FirstName")%>"

View Replies View Related

Edit Forms

I m trying to edit forms like "Record Insertion Form" and "Master Detail Page Set",
once i click ok, i don't know how to bring up the dialogues again.
My question is how can i bring the "Record Insertion Form"/"Master Detail Page Set" dialogue up again so i can change some settings after i clicked ok.

View Replies View Related

Asp Image Edit

I'm currently working on cms gallery. I need a component that can take images +/- 800kb and resize them into tumbnails.

I have used AspJpeg until now, but I think it's a little slow.. Do any of you have any suggestion about what's the best upload component and image component to put together in a app?

View Replies View Related

Edit Record

I'm currently thinking of a good way to edit records from using an ASP page.

I got the page to display the table (all records) and next to each record, there's a button to "Edit" and "Delete", so basically the GUI is sort of ready to go.

But for the functionality part, I'm pretty much stuck. Please give me some ideas in how to make this work. Here's what I've got so far:

View Replies View Related

Edit Page

I have an edit page that works successfully except for two dates at the bottom.
I'm trying to pull the dates out of the database so that they can be edited, if necessary.
At the moment when you go to the edit page the date fields are blank. This causes problems because if you update the page and leave the date fields blank then a default value of 1/1/1900 will overwrite your existing date - pain in the butt.
Therefore I need the date fields in my edit page to be filled from the existing dates in the database.

View Replies View Related

Edit A DataSet

I have a DataGrid which has checkbox columns. The data source is a run-time created data set that I store in a session so I can rebind it during postbacks. I don't have a database or xml file, etc.if it's possible to edit a dataset directly? So when I click on a checkbox it will change the value in the dataset and store it back into session?
If this is not possible how can I use arrays or vectors to temporary store my checkbox statuses? I guess it's not possible to have one DataGrid have more than one datasource

View Replies View Related

Edit Com Object

I have recently started a new programming job with a new company. One of the tasks they have me working on is editing and maintaining an ASP web application. Two of the problems they need me to fix with this application, involve editing a previously created com+ object.

There is no documentation on this com object, however, that is where the application bombs. I can only find very old versions of the class(.cls) file that was used to compile the com+ dll.

I don't have very much knowledge of com+ objects, is there an easy way that I can edit this com+ object that I am missing?? I have been trying to decompile and unassemble this thing, but it can't be as difficult as all that, can it??

View Replies View Related

Edit XLS Files

I want to open an excel xls file with asp and edit some cells of it and save it back.
The excel file contains 2 worksheets.How can i do so?

View Replies View Related

Edit Excel

users around the internet need to edit the same spreadsheet. I don't want to code a bunch of pages for each spreadsheet we create. I know that a spreadsheet will open in a browser, but is it possible to save it back to the server, without downloading and re-uploading? What is the shortest path to success on this?

View Replies View Related

Edit And Delete

how i can edit and delete records?

View Replies View Related

Edit HTML

I have HTML documents. Nothing fancy. I want the ability to edit them, via a web interface, without a DB backend. I also want the ability to create HTML pages from a template. but how?

View Replies View Related

Edit Fields

Rather than deleting I'd much prefer jsut to change a row. What is the rs.adnew as edit (as with VB6) does not seem to work. Code:

adoCon.Execute("DELETE * FROM TableNum")
'
With rs
rs.AddNew
rs.Fields("NextClientID") = vClientID + 1
rs.Update
End With

View Replies View Related

Edit DB Records

what is the easiest way to edit records on asp.net page? I have an Access database on a remote server and I want to be able to search through, add, delete and edit the records. Is the easiest way to do this by creating a Data Access Page in Access?- if so is it possible to create ASP pages based on the forms in the database?

I've read through some material on ASP and DataControl but it seems very complicated- does anyone know if there are any good examples of ASP code that lists items in a table and allows the user to edit and delete them?

View Replies View Related

Edit Text

I am trying to edit text entered in a textbox. I have previously used a function where you can specify certain characters to be removed from a text string but I can't remember what it is.

View Replies View Related

Program To Edit .adb File

I've taken on a website, which seems to use an '.adb' as it's database source. It connects to this using the microsoft Access driver, as it would an Access database.
I've Googled, and can't seem to find out how to open the .adb file and edit it.

View Replies View Related

Database Edit Error

I am trying to retrieve and updata a MS Access record with the following code:

View Replies View Related

Edit HTML From Admin

I would like to create the facility for admins on my site to be able to edit certain html pages on there site. Is this possible and if so does anyone know of any good urls discussing this matter ?

View Replies View Related

Edit Members Page

I have a members page on my site and want to give the members a way to edit there own pages (either just text or images as well) so they can log into there own members page and then edit text boxes to complete the required info.

May be if you see a page you will understand what I want to do.

Members Page

I want to let the members edit the orange text and the small bit of white text on the right.

View Replies View Related

Checkbox Edit Problem

My goal is to have my checkbox lookup the current status and display it to the screen (checked or not checked) and then have the ability to change its status.

Example: It is currently checked in DB, I want to un-check it and update database to un-checked. Here is my code. It is doing the look up fine, when I make the change it all seems okay, but doesnt change the database. Code:

View Replies View Related

Edit And Delete From A Table

I have a table which views fields from database to users. I have the edit and delete links in each row. My question is how do I get the id of the row in the url to use in the action page?

View Replies View Related

Script To Edit PSD Files

Is there any way to edit a PSD file trough ASP ?For example if I make a templimate with photoshop with a textfield then i want to change the textfields value trough the script and then render the new file as an image.Ive seen alot of components that can render PSD files but none that can edit them.Is it possible ?

View Replies View Related

Edit Button Code Does Nothing

I have an html edit button and all I want right now is when a checkbox is checked and the user selects the edit button, the page will redirect to an edit.asp page where the user will input information.

I can't figure out why this code is not working. I'm sure it's probably something simple.

<input id="Editbtn" type="button" value="Edit" language="javascript" onclick="return Button1_onclick()" />
<% If Request.Form("ck")<> "" then

response.Redirect edit.asp

end if
%>

View Replies View Related

Edit An HTML Table

I have a dynamic html table. I want to write the code to edit rows in the table. Right now I can't change anything in the table. How do I make the rows so they can be selected and changed.

View Replies View Related







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