NYCPHP Meetup

NYPHP.org

[nycphp-talk] Insert Primary Key Value into Foreign Key

Jeff Siegel jsiegel1 at optonline.net
Thu Oct 6 07:44:17 EDT 2005


 
Is this a question about MS Access or PHP?
 
Jeff

 

  _____  

From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of rinaldy roy
Sent: Thursday, October 06, 2005 1:57 AM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] Insert Primary Key Value into Foreign Key


Dear all, 
I have a table with a primary key in it. I use stored procedures to insert
new records. What I want to know is how do I make it so a column (foreign
key) in another table adds the same number as the primary key in the
original table when a new record is inserted? My database is generated by MS
ACCESS
 
Rinaldy RM


  _____  

Yahoo! for Good
Click here  <http://store.yahoo.com/redcross-donate3/> to donate to the
Hurricane Katrina relief effort. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20051006/bad15c6c/attachment.html>


More information about the talk mailing list