Make Match

I want to know how to make a match for a text , for I'm wan't to search for this in the db . the search i made search only for the exact text user inserted so if the user misspelled the word the search will give him zero result. So i want to seach for any part of the word or if it is aword in aphrase.

View Replies


ADVERTISEMENT

Selecting Values That Do Not Match

hi there i need to display results that do not match those in the database. I have an excel file and i upload it, inserting the records in a temp table. Than i compare the values in the original table and the temp table. All i want is the values that do not match..i did this:Code:

sql = "SELECT TempSerial.SerialNo "&_
"FROM TempSerial, Serial WHERE TempSerial.SerialNo <> Serial.SerialNo "&_
"OrderBY TempSerial.SerialNo;"
Set RS = objConn.Execute(sql)

i displayed the records with <%=RS("SerialNo")%> but i get all the records in the temp table displyed.

View Replies View Related

Check Passwords For Match

part of this code works but it seems to ignore the password check, any ideas?

If Request.Form("PuafoPassword") = Request.Form("RePassword") Then
strError = strError & "Passwords don't match.<br>" & vbNewLine
Else
If rspuafo.EOF and rspuafo.BOF Then
Response.Redirect ("thankyou.asp")
Response.End
Else
strError = "Username already exists, please choose another one" & vbNewLine

View Replies View Related

Sorting Query By Match %

If i am querying from a database with code like: Code:

Set oRs=server.CreateObject("adodb.recordset")

strSQL = "SELECT * FROM tblInfo WHERE Name = '" & request("name") & "' OR State = '" & request("state") & "' OR Zip = '" & request("zip") & "' "

oRs.Open strSQL, conn

Do while not oRs.EOF

Response.Write "<tr><td>" & oRs ("Name") & "</td><td> " & oRs ("State") & "</td><td>" & oRs ("Zip") & "</td>

oRs.MoveNext

loop

how can i diplay the results that match all three catories before partial matches?

View Replies View Related

Multiple Variable Match

I have a web page programmed in ASP that creates a calling list based
on the user's preferences, which queries the information from a SQL
2000 database. I want the user to be able to select whether to create
different lists based on time zones or one list with all time zones.

The user should be able to mix and match time zones. However, I'm not
sure how to do this task. An example would be that the user wants
east coast and central in one file, then pacific and mountain in
another, but it could also be pacific in one and east and mountain in
another, and the possibilities go on. The database is set up with all
the information needed, but I'm not user how to code in ASP for the
different possibilities.

View Replies View Related

Exact Match Query

i want to provide exact match. e.g. if user enters pharma machine result only display records containing pharma machine and not records containing either pharma or machine.

database table: company_info

database field: products

user entered search (field name): st

i had tried the following

select * from company_info where products like '"&st&"'

but is shows the wide result

View Replies View Related

DELETE Query Does Not Find Match

I have a query that accepts input from a form and deletes a row if the form input = the value in the table .if the input is not in the table how do i post to the user that this data was not found in the table?

View Replies View Related

State Reason For No Record Match

I have a form on a .asp page that when submitted via post to itself its values are grabbed by asp and put into an sql statement. From there the records are generated depending on the criteria selected in the form. What I would like some help or guidance is if no records match the criteria how can I generate a meesage that states which criteria in the request did not match.

So if the form submitted is looking for a home in Michigan, Ranch Style, with 2 car garage, 3 bedrooms, 2 baths, between 1000 to 1500 square feet and there is no record that matches that criteria a response is given that the reason for no match is because the 2 bath criteria didn't match or because the 2 bath and the square footage criteria didn't match.

I have the form working with asp already. When there is no record I have a simple statement that says "sorry, no homes matched your criteria" I would like to state why there was no match.

View Replies View Related

Read Excel And Match With Database

can any one help me to read the datas from the excel sheet and match it with the database.i will be thankful to you if u provide me a sample code.

View Replies View Related

I Need A Code That Resizes The Images On My Site To Match Resolutions

I want the site to look the same on all browsers. All the tables and stuff are based on percentages but this doesn't fix the images. The images are based to fit 1024x768 but i want them to look the same on every other resolution. Can someone help me with a script?

View Replies View Related

Make A DLL

How can I make a ASP-file to a .DLL? The idea is to protect the source from others who use the same IIS. Can I make a ASP-file that calls a .DLL - file with all functionality, or how does it work?

View Replies View Related

Make A Form

Hi does anybody know if you can make a form
have two actions and how?

View Replies View Related

How To Make 1000000 Looks Like 1,000,000 ?

how to format the table in order to show 23,567,987 instead of 23567987 , I mean it's very hard to read when there are more than 4 digits.

View Replies View Related

Make Link

when you click on it to go to the off site the user name and password will be automaticly inserted to where the offsite is asking for the name and password.
My company deals with insurance companies and we would like to make it to where when our employees go to our intranet and click on a link to one of our carriers it will have the name and password in place for them. i heard its possible and old company did it but I am having so much trouble trying to figure this out.

View Replies View Related

How To Make OCX Talks To ASP

Its the first time I use ocx on my asp pages. Say I have an ocx which is a dropdown with multiple columns. Before its displayed, I call a method to populate the pulldown, so how do I make the script block talk to the html?

'script block

<%
dim myObject

set myObject=server.createObject("myObject.pulldown")
myObject.Populate(.....)

%>

'HTML block
<Html>
<OBJECT ID="MyObject1" CLASSID="CLSID:12345678-8AB4-4230-A65E-DA15A40F9900"></OBJECT>

View Replies View Related

Make The Pop Up Info Box

When you hover over one of the topic in this forum a box appear with the first few lines of the message in it. How is this created. What events area used to creat something similar and does anyone know of any good website where i can look at a tutorial for it.

I dont even know what they are called so dont know what to search for even on the web as if i write pop up i get something else which i dont think is what i really want to use, or maybe it is.

View Replies View Related

How To Make The Session

how to make the session timeout. and where should i put the session timeout.

View Replies View Related

Make Support ASP

I have Windows 2000 Server. Running IIS 5. I created a ASP file that connects to a database and when i go to view it, It either says that there is a error in the code on like 106.

Which is only an "End If" command, Or it will say that this page needs to be posted on a web server that supports ASP. Well.. I have indexing service running, And I know for a fact that the code in the page is correct because it works on other 2000 server.

View Replies View Related

Make ASP Page

I have a webapp. that holds a lot of documents. Some of the documents needs to be produced from a database on-the-fly, some are static documents like PDF, Word documents, etc... In the end, a user can do a request to produce a large amount of documents as one huge PDF document. Today the creation of documents is working, but all code is done in ASP.

In Visual Basic, I was thinking about making an ActiveX EXE server that generates the PDF document. The ASP page will be polling until the file is generated. When this is done, the file will be displayed. I have only written down my thoughts on the subject. Is there a good way to do this?

View Replies View Related

Make Html Off

how to off the html in the textarea or text box. so if user write an html code in textbox or textarea , would.nt make the page changes. like this add thread how about if i wrote an html like </table>, it will make the display page change.

View Replies View Related

Is It Possible To Make A Cookie NEVER Expire?

Is it possible to make a cookie NEVER expire? or not?

View Replies View Related

How To Make Checkboxes From Database

How to use asp to populate checkboxes from a column in an Access table? I want them to be updated when the table is updated.

View Replies View Related

How Do You Make If.then.else Do Two Stuff On One Line?

is it possible to do a insert, add, and a redirect all on the same page?

for example... signup.asp. there's a text box labeled Acctid. If you don't have an acctid please enter "0000" otherwise enter one. This box is used to see if they have an existing account in the database by using an UPDATE query and if they don't it does an INSERT query with acctid = 0000 for all non customers. What I want the if.then.else statement to do is to

If acctid = "0000" then
conn.execute acct_add
(and if sucessful to response.redirect "/yay.asp"
Else if NOT acctid = "0000" then
conn.execute acct_update

(but I want it to return an error if the update wasn't sucessful either because the acount doesn't exist or watever and if the update was sucessful to response.redirect "/yay.asp") END IF

Do ya get it?

View Replies View Related

Trying To Make Secured Pages.

I got admin's pages and users pages. If I haven't logged in as an admin first and i'm either not logged in at all or logged in as an user then when I try to enter an address of an admin's page then it redirects the user to the main page.

I tried solving the next problem with cookies andor with session but neither of them worked. Code:

View Replies View Related

To Make Hyperlink Clickable

i have this

Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") & vbCrLf

coming from access db.

how can i get that to make a hyperlink clickable as well??

View Replies View Related

Make Access Forms Available On The WEB

I am looking to make my company's access database (forms, reports, etc) available through a web server. Any idea what type of programming will be needed (ASP, JSP, PHP)? If there is anyone that can help me with this please let me know. I am willing to compensate them for their time and help. It should be a fun project.

View Replies View Related

Where Do I Start When I Want To Make My First ASP Database?

I would like to make a database that contains Picture, Name Job description, gender and web address. The database should be able to hold at least 1000 profiles.

What program would you sugest? Where do I get it? Are there any online tutorials you would suggest?

View Replies View Related

How To Make A Page Look Like It Is On Another Site

I am developing an ASP page for clients. I will host the page on my
server, but it must appear on the clients' websites. That means that
the user should not be redirected to my site, but instead should remain
on the client's site. Or at least appear that they are remaining on the
client's site.

One thing that would be acceptable is to host the page on the client's
site, but have it hit my site to get the data. I have looked into
XMLHTTP and also just having the ASP page hit a remote SQL Server
instead of a local one, but haven't made any decisions yet.

View Replies View Related

Make Timer! ASP & Javascript

i know little about javascript and i am trying to make a timer for some exam. i know how to take the value from the table but i dont know how to show that in the form and make it move from the time eg. 00:10:00 until 00:00:00 and stop the exam and go to a different page which will have the results. i just need to know how to populate the time in
javascript?

View Replies View Related

I Have Some File Want To Make A Web Server

i creat one sql server and want another computer on my lan run my web server (i mean the computer on lan can insert data and store to my sql server)but i don't know to do that .i used windows 2003 and IIS6.

View Replies View Related

How To Make New Page Open As A Pop-up

I have a page where the user selects the product they want and from that selection a new page opens with a detailed look of the product. I would like this new page to open as a brand new window with a size I have choosen. Where do I set the size I would like to the page to open as?

View Replies View Related

Make Your Own Site & Editor

I have a preatty cool website builder and editor. It alows the user to make pages, edit, and delete them. It also makes the navigation bar for the user automatically. You can even change the colors, your user id, password, secret question, and more.

The editor allows the user to use an editor like the one here on sitepoint. I was wondering, are there anymore features in asp that I could add? Any suggestions would be greattly appresiated. By the way, I am using a database, I believe it is access 2002, not sure, but I do use a SQL statement to connect to it.

View Replies View Related

Make My Page Portable

I am designing a page where I have to get its location so I can reuse the page in different sections of my site. I know Server.MapPath gets the webroot ... but how do I get the path of the page I am in?

View Replies View Related







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