I started this db 8 months ago but left it for 5 months. Now I am back and trying to get in the swing of things again. My question? Can I design one form that will populate two tables, and if so, how? (Simple answers please. I am only partially literate in programming chit chat)
I have a form to edit my database. I coded the post form fine. But I have never had to pull from the database and populate checkboxes (The ones check on the post form). I have no idea where to start. Here is the code from the post form: Code:
I am trying query the data from db and populate in the web form's textbox field. so far I cannot put that record into the text field box. anyone has idea on that, below is my sample code:
I have the following code that pulls a record based on a form submittal then populates a form with the fields so the record can be updated. My problem is in my query line more than likely in my keyset types and what not. Code:
when the user clicks on the edit account_details link, a web-based form page opens with text fields like account_no, account_name, date, type etc.
the design i want to implement is when the user enters the account_no field on the form & goes to the next field, the remaining fields on the form should be auto populated with the respective data for that account_no from the Oracle database.
Next the user can edit any of the form fields & save it back to the db.
We have an ASP site that hits up an Access database of categories of products and products. (e.g. Categories = Napkins, Tablecloths; Products = 20x20 Napkins, 21x21 Napkins, 54x54 Tablecloths, 60x60 Tablecloths)
We currently have select boxes that when you select a category, it populates the next select box with the proper list of products (i.e. I select Napkins as a category, I get a listing of the Napkins)
We would like to put a clickable link before each of these select boxes that would pull up a pop up with links from the records from the proper table.
(e.g. I click the categories link and a popup with html anchor tags of Napkins and Tablecloths appear) I click on the Napkins anchor and it populates the Categories Select box with Categories and Napkins being selected.
I have a db with about 15 fields in, what i have a list of all the fields on a form, simply check the checkbox relating to that field and on the next page it creates a table only with those fields in it.
I have two tables Property & Landlord. I have a form and when it is filled in and submitted the information should be sent to the two tables, but i cant seem to get my head around this problem.
I know how to create dynamic tables in dreamweaver to display fields and records in a table of a database, but in my case I need to create a dynamic table that lists all the tables in the database, then to click on the one i want 2 edit the data in there.
I want my asp code(recordset) to populate a table structure like below...How will I do that ? I have the corresponding day(monday,tuesday,etc) stored in my db...This is a weekly schedule for all drivers..A sample db table output would be : Code:
The user selects from several dropdown boxes, on different pages assessing different faults with a particular job. Finally it comes to the last page and displays all the various bits and pieces that have been selected along the way,
THE PROBLEM, ERR CHALLENGE....
It also needs to populate an email link to display the info selected and then which is emailed to an administrator for approval.
I have a form with a select control called "Last Name" and 1 text box called " First Name". In the select drop-down I have a list of last names pulled from the database. Also the second text box first_name value will be pulled from the database also. When a user selects a last name from the list I want it to automatically update the first name textbox based on their selection. Ie. The persons first name is put into the textbox.I need to take the values of both(First Name and Last name) and send them to another page
I have an ASP web form that I want to populate fields based on the first field choice. Example I have 4 fields item, price, delivery, availability. I have all these items setup in an access table. When a user chooses an option from the item drop down, the price, delivery, availability will then populate. I have already made my connection to the database, and created the drop down for field one from the choices. How do I now populate the corresponding fields.
Im new to asp and I'm having trouble with listboxes. I have two listboxes, the first is populated from a database and I need to fill a second listbox with items from the database that are dependant on what was selected in the first list box.
I've been hunting around the forums for ages trying to find a solution to this but no joy so far, hopefully someone can help? Basically I'm a bit of a newbie to session variables, and was wondering if they are they best thing to use for the following problem I have; What I want to do is capture a referral ID from a URL i.e. www.mysite.com?ref=1234567 and then store it in a session variable and if the person signs up for a service, it automatically places the referral ID in a text box on the order form. Does anyone know if this is possible or know of any tutorials? I've had a good look on google, but no joy so far. I think the key bit is how I capture the ID into a session variable?
Which of the method is used. ? Writing an SQL statement in ASP to populate a recordset OR Calling a stored procedure to return records to populate a recordset. Which of the above two methods is more useful and faster.
i have learned how to populate a webpage with images from a database. however, i would like to go a little deeper:
i would like to create a recordset (in dreamweaver) with a drop-down list of my product lines:
product line A product line B etc etc
this is not a problem. i can do this. however, once the user has selected from the list, i would like the corresponding images to be displayed in the webpage. i am not sure how to go about this. tips for doing this in dreamweaver would be excellent.
I have two form items listbox 1 and textarea 2 and a button. I populate the listbox 1 with a SQL query. i want to add the following functionality:
i choose something from the listbox push the button and then the selected item must appear in the textarea( or listbox ) when i choose a second item from the listbox it must appear beneath the first choosen item etc.
When the app is ran you get a list of checkboxes to choose from which passes values to crystal reports. All I need to do is change those checkboxs to dropdowns. Can someone give me some assistance here?? Code:
I have created a form that asks the user to select an item within a drop down list, once they have selected the item i would like it to populate one of the other fields with a code depending on which item was selected within the drop down list. How would i do this?
I have a drop down menu that is populated from a database. the problem that I have is that alot of the numbers in the field are duplicated ie the field in question has years in it and may of the years are the same.
is it possible, when there are duplicated years, to populate the dropdown menu only once with that particular year. This would grately shorten the menu for me.
I am trying to populate a dropdown box with 2 date variables called today date and tomdate. First it will show "-choose-", followed by todays's date and then tomorrow's date.
The selected date needs to be validated by my hidden function called Validate. This I can do, but I can't figure out the syntax for the dates. Following is another dropdown box which you can make the changes to so I can see the proper syntax.....
I have an array - ListOfFiles - that i want use to populate an combo.
I've attempted to do it like this:
<select name="txtAvailable" rows="4" id="txtAvailable"> <Script Language = "vbscript" Runat = "Server"> For i = 0 to Count -1 Response.Write"<OPTION>" & ListOfFiles(i) & "</OPTION>" next </script></select>
I placed the vbscript in the approprate place in the body. But when i open the page instead of writing the HTML where i placed the code, it has appended it right at the bottom of the page. Does anyone know where i'm going wrong or if there's a better way of doing this?
i used sql code above to display data in a table. basically, the flow is like this. when there is a new reservation, a staff will be assigned to handle that reservation from the beginning until the end. before this, i just display a staffCode that retrieved from Reservation table.
then, i made changes to display staffName and removed staffCode from the table (based on requirement). but, because previously, there are some reservations that have been assigned to staff, i do not have any problem to view all data in the table.
but, when i click other reservations that have not assigned to any staff, an error page came out. the default value for staffCode in the Reservation table is null. because this null value, i've got an error page. is there any steps i can use to solve it?
I am building an online shop, i wish to select all the sizes out of a table and polutate a drop down list with the selection, then dependant on what size you selected it offers the quality available in another dropdown list based on the amount recovered from the database relating to that size.
I know this can be done is javascipt, but have no idea what to search google for, nor where to start, any ideas would be good .
In a form (to add a new product to Table2) I need to populate a dropdown with the CatName. So far so good. Now, I will go to have special categories with just one product. When that happens the ProdCat value is '1' (that means that the category is not going to have any more products).
So when populating the dropdown with CatName in those cases where ProdCat is equal to '1' I don't want the corresponding category being showed in the dropdown. How to do this? I have the following code but I know it's not correct and maybe I'm completely out of track: Code: