Can One Form Populate Two Tables?

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)

View Replies


ADVERTISEMENT

Can One Form To Populate To Tables?

Can one form be set up to populate two or three tables? If so, how?

View Replies View Related

Populate Checkboxes From Edit Form

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:

View Replies View Related

Populate Record From Db Into Web Form Textfield

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:

View Replies View Related

Fill / Populate Form Text

in a text field e.g.

<INPUT TYPE="text" NAME="Homepage Email Address" SIZE="25">

How would I pre populate that text box so that when a user opens the page there is already text in that box?

View Replies View Related

Database View Form Populate (query Issue)

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:

View Replies View Related

Auto Populate HTML Form Fields From Oracle Db

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.

View Replies View Related

Populate A Popup Window With Clickable Records From An Access DB And Upon Clicking, Populate A Selectbox On The Original Webpage With The Clicked Record

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.

View Replies View Related

Dynamic Tables Based On A Form

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.

View Replies View Related

Inserting Data Using A Form Into Two Access Tables

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.

View Replies View Related

Creating Dynamic Tables In Dreamweaver To Display Tables

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.

View Replies View Related

Populate Tb St

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:

View Replies View Related

Populate Email Lnk ?

I am running it on IIS, access db, and ASP.

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.

And then exported to excel format.

View Replies View Related

Populate A Text Box

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

View Replies View Related

Populate Other Fields

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.

View Replies View Related

Populate Listbox

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.

View Replies View Related

Populate Text 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?

View Replies View Related

Populate Recordset

I want to populate a dynamic schedule table M-Sunday like this. My db doesnt have a column called monday,tuesday,etc.

I want to create a loop that get the data from access then fill the cells for date and route..Any day may have 2 or more schedule.

View Replies View Related

Populate Drop Down

I have this code which populates a multiple drop down

getedu=rs("Education")

when i do a response.write getedu the output is

Bachelor, PHD

then i use to select the values in drop down

and its not working any ideas why Code:

View Replies View Related

Populate A Recordset

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.

View Replies View Related

Populate Images

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.

View Replies View Related

Populate A Textarea

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.

View Replies View Related

Populate Combobox

i have already populate a list from my database using the following code . Code:

<form method=post action="ProcessOrder.asp">
<select NAME="TEST">

<% Do while NOT rsHis.EOF

response.write "<OPTION VALUE=' " & rshis("pic_id") & " '> "
response.write rshis("title")
rsHis.MoveNext
loop%>


</select>

But i dont know how to present the results from the combo box.

View Replies View Related

Populate Dropdown From Sql

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:

View Replies View Related

Need Populate Field

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?

View Replies View Related

Populate A List

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.

View Replies View Related

Trying To Populate A Dropdown Box With 2 Dates

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.....

View Replies View Related

Populate A Combo With An Array

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?

View Replies View Related

Populate MonthName In A Dropdown Box

I would like to populate a dropdown box with monthly names. Jan- Dec.

View Replies View Related

Cannot Populate Data Into Table.

sql = "SELECT [R.oriAddress], [R.oriCity], [R.oriPostcode], [R.oriState], [R.oriCountry], " & _
"[R.mobileNo], [R.homeNo], [R.resDate], [R.resTime], [R.surveyDate], [R.surveyTime1], " & _
"[R.surveyTime2], [R.moveDate], [R.moveTime1], [R.moveTime2], [R.destAddress], [R.destCity], " & _
"[R.destPostcode], [R.destState], [R.destCountry], [R.resType], [R.resStatus], [R.staffCode], " & _
"[S.staffCode], [S.staffName], [C.custName], [C.custIC] " & _
"FROM (Reservation R " & _
"INNER JOIN Customer C " & _
"ON R.custCode = C.custCode) INNER JOIN Staff S " & _
"ON R.staffCode = S.staffCode " & _
"WHERE R.resCode = " & id

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?

View Replies View Related

Populate Multipule, Lists

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 .

View Replies View Related

Populate Dropdown Conditionally

I have two tables (in an access database) acting like a product catalog (one table for the categories and other for the products) Something like this:

Table1:

CatID, CatName
============
1, Cat1
2, Cat2
3, Cat3

Table2:

ProdID, CatID2, ProdCat
==================
1, 2, 1
2, 3
3, 3

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:

View Replies View Related

Populate Textbox From Listbox

I have created this array...

For x = 0 To rs.fields.count - 1
Response.Write("sampleValues[" & x & "] = '" & rs.fields.item(x).value & "';")
Next

because I need to x values to get the indexes of rs.fields.item(x).value into my asp page for use on the next page. Further down the page

I have a number listboxes created thus....

Code:

View Replies View Related







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