I got the sample from MS website on the search form. There is a property, DocTitle. It doesnt bring any data back to be displayed. Could someone help me and tell me what this is suppose to bring from pdf/word files?
I thought it was the title in the word document for the document properties? I have something there in the document but it still doesnt display it. It seems to be always blank.
I have a ms access table, which is called students. This table contain data about the students. 3 fields I use for my search form. Gender contains male and female, age contains the age of the students between 15 and 25 and state contains the state where the students are coming from.
Now I would like to search for example all male students who are between 17 and 21 and are from California. Or I would like to search all female students who are between 16 and 19 and are from New York. how the SQL query should look like and to make it work, by that I can see all searched students with their data in the results table?
I have a form on my site that allows someone to enter a date range they want to search for in ASP. I want the From Date to lag behind the To Date by two months automatically? I know how to make the To Date today's date, but do not know how to make it subtract two months off for the From Date.
The part I know: <input type="text" name="ToDate" size="8" class="style2" value="<%=Date%>">
The part I don't: <input type="text" name="ToDate" size="8" class="style2" value="<%=??????????%>
I am trying to implement a search form that lets people find businesses by zip codes with a certain distance (e.g. 10, 20, and 50 miles).what do I need to buy to have the resources to do this? I have seen some zip code databases but I am not sure how to setup the distance from point A to point B and return the results within the distance.
I have set up a search form on our homepage which allows users to search for properties to rent.They enter details like postcode, rent amount, number of beds etc. on the search form, hit submit and matching records from an access database are displayed on a new results page.I want to be to make it easy for the user to review the search criteria and amend it.
Can I get the search criteria to display in another form on the results page or do I just expect the user to hit back to get back to the original completed form. If the Back button is the best method can I add a button/link on the results page to perform the same function as the back button on the toolbar.
In a HTML form field, the user enters a long text. I need to search for an image tag. Then get the name of the image (*.gif or *.jpeg) to check the image library if the image already exists. If exists, cannot upload the image. Else, upload the image.
im working on a database driven website that uses an access database of links and search keywords that users can search through to find a particular page within my site. the search box is in a table and the results come up in an iframe without the page refreshing aside fromt the iframe itself. at the moment when i type a search into the text field and press enter the results come up as i want them to within the iframe.
however if i press the search button next to the text field section of the form as opposed to pressing enter the database does not find any results yet the no results found error still appears within the iframe. i have tried the same searches and pressed enter and they work but as soon as i try to click the search button they do not.
here is the search form code so any of you geniuses out there who can help me can see if any code is missing: Code:
How to search a database field from form input? is it easy to do i like to have a html form from an html page that will call an asp page to do db search, if user enter a zipcode that match in the database it will pull all the infomation from both talbes and display on the screen
i have 2 tables related to each other contact table id, fname, lastname, contactid, email
How to search a database field from form input? is it easy to do i like to have a html form from an html page that will call an asp page to do db search, if user enter a zipcode that match in the database it will pull all the infomation from both talbes and display on the screen
I have a search form that searches through employee records by either employee number or last name. I have 2 radio buttons, one for last name and the other for employee number. The value of those radio buttons tells the query what to search by. My problems is if they forget to select last name and type text into the search field. I get an error of course. How should I handle this? I need some fresh eys on the problem.
If request.QueryString("action") = "search" AND request.form("searchby") = "nam" then rsTraining.Source = "SELECT * FROM EMPLOYEE WHERE " & searchby & " LIKE '" & criteria & "%' AND STATUS ='Active' ORDER BY NAME_LAST, NAME_FIRST" End If
If request.QueryString("action") = "search" AND request.form("searchby") = "num" then rsTraining.Source = "SELECT * FROM EMPLOYEE WHERE " & searchby & " = " & criteria & " AND STATUS ='Active' ORDER BY NAME_LAST, NAME_FIRST" End If
I have a form on one page where someone selects a bunch of options and details about a specific category. Then on the next page they fill out a form with contact information, name, address, email, etc.
Well what I want to know is when they click Submit on that contact form is there a way to have it so it goes through and searches the database for any that match the state and county(which they will select from a )??
So what I basically want right now is for the first form to be filled out, then the second form to be filled out, then when they are submitted it will go through the database and select everyone in there with that state and county, then on the next page display the results of both forms AND the matches in the db(obviously whatever fields I want it to display).
I already have both forms(basic html), I already have the dynamic dropdown for state and county(classic asp), what Im wondering is how do I put that dynamic dropdown in the contact form and then when submitted it will go through and search the db based on what was selected there. Would this be some sort of onClick for the submit button tellin it to search the db based on the dropdown or how would I get started on something like this?
There will be other information on the dropdown like name address email so one problem I was wondering about was my dropdown menu. When you select the state it refreshes the page and then loads the counties, so wouldnt that erase anything that was filled out on the form?
I could make it so they actually type the name of their state and county but that causes problems too because if they mispell either then it wont return any results.
there is a property in asp.net called autopostback, what i want is to set this property on plain asp to give a combo the ability to postback the selected option.
Is this possible???? i need to set something like that to a dinamic combo, any ideas????
If it can be done in java or vbscript just please tell me, cause i don�t have a clue if is possible or not.
returns the error "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" In both cases connection to sql server is ok.
I have a requirement like this.When the textbox gets focus..at this even i want to change the input langauge settings.like arabic. Currently i have to do it manually by pressing the Alt+Shift key..to toggle between twon langauages
when do u use property procedure for example PublicProperty CompanyName() AsString Get Return strCompany EndGet Set(ByVal Value AsString) strCompany = Value EndSet EndProperty
I have a few server controls on my page. Also I have a aspropDownList with AutoPostBack="True". When I select any value from the dropdownlist I want all the controls to be empty when my page reloads.
Can I use the EnableViewState property for this or I have to write specific code to do this? Currently the values which I had enetered in the servier side controls are retained after the postback.
Is there any way to make visiblitiy a combo box (2) in asp false when i used combo box (1) to select one item in the combo box(1) i want to make a combo box(2) which should be made visible false .
I'm using the Microsoft.XMLDOM object in an ASP page to read an incoming XML post request and respond to it. Although the XMLDOM object verifies the XML at a basic level, I want to make sure that the request is in the correct format (as per the specification I have to work to), as well as making sure that any XML at all was sent successfully.
At the moment, I'm stuck at the point of just trying to make sure that an XML request was sent at all. Here's the code I'm using. note that I'm loading the XML from a file for ease-of-testing, but am giving a bad filename so as to create the condition where the XML didn't load successfully.
I got the following error when access an asp page.
Response object error 'ASP 0185 : 8002000e' Missing Default Property /downtime_category-old2.asp, line 0 A default property was not found for the object.
I am able to get the nullable property OK when generating a recordset with a simple SQL statement such as "select Fld1,Fld2 from Table1" and then looping thro' the fields and :-
Response.Write(rs.fields(x).attributes and adFldIsNullable)
When I use the following statement all fields are erroneously reported as nullable:-
"Select B.Fld2, B.Fld3 From Table1 A Left Join Table2 B On A.Fld1=B.Fld1"
I want to disable text box property so user can't modify that perticular text box value in HTML form.I do not want to use label.how to disable text box property in HTML form.
how could I know if a specific sessionid still exists or not. If there is a method or anything that can tell me about the existence of a specific sessionid .
I am using CDONTS in an ASP program to accept input from a Form and send an E-mail. The form includes the following as well as some other information :
From (the name of the sender) To ( the name of the recipient) From E-Mail ( the senders E-Mail Address i.e. the Reply to address) To E-Mail ( The recipient's E-Mail Address )
I am having trouble with two properties. What property do I use to set the From (the name of the sender) ? What property do I use to set the From E-Mail ( the senders E-Mail Address i.e. the Reply to address) ?
On my webpage I have a textbox. I would like to be able to change the text in the textbox and via a pushbutton have the value in the textbox written to the .text property so that next time the page is viewed the new value will be displayed.
I'm opening a recordset with a SQL statement and then trying to use the .RecordCount property to count the number of rows in the recordset. For some reason, it is always returning -1. Code:
I have installed on my web server the aspsmartmail component v.2.7.
All work fine, but I have only on problem... Can I specify the mail server port with the "ServerPort" property?
On the web I read: .... Set objSmartMail = Server.CreateObject("aspSmartMail.SmartMail") objSmartMail.Server = "myserver.mail.com" objSmartMail.ServerPort = 21 ...
The last line return a "Object doesn't support this property" How can I specify a specific port with this object?
I have a standard ASP Textbox control on my form and need to set the readonly property of it using javascript. It's not essential that I do it via client side script but would look a lot better.