Scan Data Into Combo Box
If I had two populated combo boxes, one of them has product code and other product types/product list and wanted to scan the product code.Is it possible to scan a product code(barcode) and would that select the product code from the list if it is there,would that be the same as If I manually selected that product code,but I am just scanning it.
I am trying to let customers that have a scanner to scan the product which populates the product type according to product code scanned.,for example if I scan Victoria that selects Melbourne,if that is possible I should be fine.
But I also have to be able to let customers that don't have a scanner to select the product from the product list,which means if they have a scanner I cross reference the product code=product type if not then show all the products in the list and that is where my idea falls apart as at this point in time I am not sure how to populate all the products if no product code exists. The list of products and codes is huge.
View Replies
ADVERTISEMENT
i have Products table and how can i put them into a combo box??
View Replies
View Related
I use dreamweaver and i have a combobox named country and a text field named email. I want the user choose a country from the combobox and the email for this country go to a text field. Lets say the user choose England from the combobox and an email will be puted in text box. I use PHP or ASP. This is my form:
<td><select name="country" id="country">
<option>1</option>
<option>2</option> </select>
<input name="email" type="text" id="email" value="email for the country in combo box"> </td>
View Replies
View Related
I 'm trying to display a combo box (which datas are coming from a database) depending on the select of another combo box in the same form. I think I should use the property onChange of JavaScript but don't know what to give in parameters.
In fact, I have an ASP function which generate a table containing the Strings obtained thanks to a request in a database. Then I'd like to put the Strings contained in the table, to a combo box. The combo box should refresh each time the user select another field in the former list. It must be developped dynamically.
View Replies
View Related
We are thinking of implementing ASPUpload component to allow users to upload files. Which is the best antivirus (virus scan) which we can use so that it intergrates possibly has a COM interface.
or is there another way? with our websites and we would be able to scan the documents in the temporary folder and upon successful scanning move them into a designated folder on the server? Does anyone know of an article or website where I can get a sample code for scanning uploaded documents.
View Replies
View Related
I want to scan files that users upload on my website, how it could be done.
View Replies
View Related
I'm using an Access database connected with an ASP
website. I keep having the same problem:
Example:
when field Name (text) from tblcustomers is empty, I
do not want to show this one..
IF (qryRandom("name") = "") THEN
respone.write ("its empty!")
ELES
respone.wirte ("its filled!")
END IF
why do I keep getting 'its filled' when it is empty
any suggestions?
View Replies
View Related
There are many comboboxes. One of them is where a user can select a
"State".
Based on the state, I want to select a "County". The form should populate
only the counties that apply to that State
I know how to do the JOIN if needed, but not quite sure how to pass the
value of the "State" combobox to the query that will be populating "County"
SELECT County
FROM Census
WHERE County = (value of the combobox "State")
Here is the code from the combobox "State" Code:
View Replies
View Related
I would like to have div tag over combo box, not combo box over div tag. I have this problem on many pages usually when I use drop down menus. I try to solve this problem with z-index but it doesn't work. Have anybody some idea? Code:
View Replies
View Related
If I click the "Update" button on my form below, I can retrieve the value of
my combo by using code in the FORM RESULTS section below. Therefore, if I
choose the "Inside" option in my combo, I would get "1" as the value of my
combo box.
Is there any way to retrieve the Name associated with the value? So not only
retrieve the combo value of 1, but also retrieve the name "Inside" after
submitting my form? Code:
View Replies
View Related
I have a form which enables users to search a database. Currently they can use a series of checkboxes and a text area. I would like to incorporate a combo box in this form. The values would be hard-coded. The user selects an option, which is included in the SQL statement along with those from the other form elements.
I'm not sure how to get the values form the combo box into a variable. There would be up to 40 values. Can anyone show me how to do this?
View Replies
View Related
I'd like to know if any of you guys have found tools to, search in PDFs. create PDFs on the fly. preferly in pure asp, or in pure .net, so no component installing. I searched for it but found nothing good on the matter. I know there are some nice tools to do these things php. So I'd like to know your experiences in these things, cause clients start to ask more and more for PDF functions on their sites.
View Replies
View Related
Currently I can add/delete records from this form I have on an ASP page. But I can't get images to upload for anything. Here is the crazy part...I also have a Linux webserver for my php sites right.
I'm thinking about doing my image upload function on my linux box and upload it to the windows 2K3 image folder of my we directory. So I cause my question is: 1) Is that possible? 2) Can php talk to my access DB, and 3) Am I crazy? Code:
View Replies
View Related
I've got a combo box with a list of alphanumeric data extracted from database. When i type 'c' the combo box shows a list of items beginning with the letter c. then when i press '8' the combo box shows a list of items beginning with the number 8. But what i want is for the combo box to list items that begin with 'c8'. is it possible?
View Replies
View Related
This is the code for a combo box, and I would like to make certain value the default value, so that appears unless users select somthing else.
call rs.Open("SELECT * FROM Trim.dbo.luDecisionMaker ORDER BY DecisionMakerName" _
, myCon)
do while not rs.EOF
Response.Write("<OPTION value=" & rs("DecisionMakerID"))
if rs("DecisionMakerID") = nDecisionMaker then
Response.Write(" selected")
end if
Response.Write(">" & _
rs("DecisionMakerName") & "</OPTION>" & Chr(10))
rs.MoveNext
loop
rs.Close
It comes from a table and has PropertyDetailsID(1,2,3,4) and PropertyDetailsname(Fee, 5,10,Other) and for example "Fee" needs to be the dafault value.
View Replies
View Related
I have a search page where i have like 10 combo boxes and some radio buttons and check boxes.
Now when the page loads, i do some selection in the combo boxes and when i press reset button it clears all data in the form elements.
But when i select things in combo boxes and do a search by clicking OK button then the search results are displayed there and now if i want to clear all the form elements , i tried to click reset button, but when ever i did a search ie click ok button and after than press reset button reset button is not clearing the form elements.
Reason for this problem:
Reset button resets the form to it's state when it was loaded (as opposed to clearing the values) so if the page loaded with the search values in it, when you hit Reset nothing will happen if you haven't changed anything. Code:
View Replies
View Related
I want to take a text box that is in a grid and make it a combo box: Here is what the first part of the HTML looks like now:
<input type="text" name="txt_SERVICE_SN"
onkeypress="filterNonNumeric()" size="5" maxlength="3"
style="text-align:right"
onchange="fieldEdited(this.parentNode.parentNode)">
I tried switching the "text" to be "combobox" and that doesn't work.
I saw some other code for other combo boxes (not in the grid) and saw something like this:
<select id="test2"></select>
This will make a combo box. But I don't know why. I can't see anything in there that uniquely identifies this as a combo box.
View Replies
View Related
Is there a way to implement a combo box, like in access in ASP? Or is there another way to have the same result. I want to make a page where people can choose an item in a list, but add one if it isn't in the list.
View Replies
View Related
How do I make a value the default value for a combo box in ASP 3.0?
What I have below does NOT work, yet I've seen it in HTML file examples before (and works if I put it in a HTML file by itself, but not if I use it in a ASP 3.0 app.
<select name="cboCompany" style="text-align:right; font-size:8pt">
<option value="08">08</option>
<option value="09" selected="true">09</option>
<option value="33">33</option>
<option value="18">18</option>
<option value="17">17</option>
</select>
View Replies
View Related
I would like to know how do we declare a string for combo box. I know for a textbox it would be:
strName = request.Form("txtName") - provided txtName is the name of the textbox.
Lets say name is the name of the combo box...
Do we declare like this? ....
View Replies
View Related
I am working in an asp/Vb script environment.In a form I have 2 combo boxes.first is main criteria and second one is sub criteria.in the first combo I have made predefined enteris(the headers of the table)say a table is:emp and its headers are:empid,empname,L1manager,accounts,location etc.
on a change event of first combo,I want to fetch the details from the table.say if I selected Ename in first combo.the second combo should automatically fetch the listed Enames and vice versa.
View Replies
View Related
I have a drop down select box that gets filled from database. I have to add "All" to this list which does not come from database. Also the default selected value should be the second value that is stored in array. For ex I have array of Countries names as America, Indonesia,china, Canada. My array gives me the value Myarray(intcount,0)(intcount,1) as America and so on (two dimensional array).
I want Indonesia as the default selected value when the page loads. Also I need to hardcode All at the end. Upn submitting the form the selected value fromthe drop down should get selected.
View Replies
View Related
I have a drop down combo and on next page I want to get selected text of the combo. know howe to get value but not text.
View Replies
View Related
My left frame contains a combo box which loads the selected record in the main frame.The combo box retrieves concatenated 3 columns from my db. E.g. ID, Firstname & Surname.
Because of this, it seems to blow out the size of the frame,thus ruining my nav system.Does anyone know how I can restrict the box width, but allow the drop down part to remain wide?
View Replies
View Related
How can i reset the combo box or <select> in asp?
View Replies
View Related
I want to create dynamic combobox. for eg if in a text box user enter a value the combox will populate from a table based on the value input in textbox. in the same page.
View Replies
View Related
In visual basic we can use ms forms 2.1 object library to put a combo box that has autocomplete ability. but i want a combo box or drop down box that gets data from the database to have autocomplete ability when used in ASP.
View Replies
View Related
is there any way i could make dynamic combo box (populated from another combo box selection) using vbscript and not javascript.. any tutorials or links available?
View Replies
View Related
I am setting up an ASP page using a combo box ...
Request: ... The user select a date from the pull down list and on
selection of that date another box or window will populate with the
corresponding data from that same record in the database..
I guess I am looking for an "On Selection event" type feature
Something that will cause an event to happen based on the selection
from the combo box and not have the user to press enter to get the
corresponding results.
View Replies
View Related
I need to present the user with a list of available options in a combo box, but also want to allow them to enter new values. What is the best way to accomplish this?
Basically, the drop-down will be populated with a Select Distinct query from a database. If the list doesn't meet the users needs, I want to let them add a new option into the list somehow...anybody encountered a similar problem and can point me down a good path?
View Replies
View Related
I have some filter fields - when these are chosen it should list the records only with these values that are chosen.
For e.g. I have a filter for month. So, want to list the records only for that month. Also for week. How do I go about?
View Replies
View Related
I am finishing a site using asp to get info from a database, and javascript to produce a navigation menu. The whole site works well in all several browsers, except the Press Release page. When I visit this page, the javascript menu stops working. Again, this only happens with IE.
View Replies
View Related
I have a problem . I have a table of field name ,roll_name, age
I have to show name and roll_number in combo box list.
<select name=id1>
<option value="<rs(0)>"><%=rs(0)%><%=rs(1)%></option>
View Replies
View Related