navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Trying to update with value from another table

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Trying to update with value from another table
Page: [1]
 
clirvin

 

Posts: 2
Joined: 4/22/2008
Status: offline

 
Trying to update with value from another table - 4/22/2008 16:32:34   
Any help I could get would be awesome!

I have a FrontPage 2003 website with Access 2003 Database. Here's what I'm trying to accomplish....

The table Leads1 has a field for ISP. This field is to be set by an online form by a manager.

The table ISP_Login is where the values need to come from.

I want to set up an update form to choose the ISP_Name from ISP_Login and update the Leads1 table ISP field.

Any suggestions?
crosscreek

 

Posts: 107
Joined: 2/5/2008
Status: offline

 
RE: Trying to update with value from another table - 4/22/2008 18:04:33   
If I'm understanding what you are asking correctly...

lead1 table
Lead1ID <--this is your primary key
ISP


ISP_login table
isploginid <---this is your primary key
isp_name
leads1id <----this is where you use to make your JOIN.

Go to your query design & choose your isp table & lead table...

Now click,hold, & drag the leads1ID (from isptable) over to the leads1id (leads1 table)

Now you will see a line...double click the line & choose option 2.

You are making a left join from isp table to leads1 table.

This is your query to select the fields you want to update.

from here you need to make an update query using the same JOIN type.

Hope this helps


(in reply to clirvin)
clirvin

 

Posts: 2
Joined: 4/22/2008
Status: offline

 
RE: Trying to update with value from another table - 4/23/2008 9:20:59   
Thanks for your response, but I don't think I explained myself clear enough. I am using FrontPage 2003 and Access 2007 (saved as 2002-2003 so that it is compatible).

Leads1 is a table.
Leads1_ID is the Primary Key
ISP is a field within this table, formatted as text
This table holds sales leads, some of which have not been assigned to an ISP.

ISP_Login is the other table
ISP_ID is the Primary Key
ISP_Name is a field within this table, formatted as text
This table holds the names & contact information for each ISP.

I need to be able to assign each record in the Leads1 table to an ISP from the ISP_Login table through a website.

I am using the Database Results Wizard to show the records from the Leads1 table. I want the Sales Manager to be able to choose an ISP from a drop down menu and have that ISP (from the ISP_Login table) input or updated to the ISP field in the Leads1 table.

Does that better describe it?

Thanks!

(in reply to crosscreek)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Trying to update with value from another table
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts