If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-25-04, 19:52
fisya fisya is offline
Registered User
 
Join Date: Mar 2004
Posts: 53
database

i have 2 database which is tb_aduan and tb_admin. i have a form in dreamweaver where user will use it to add new record to tb_user. the 2 database were connected with relationship on id_aduan(autonumber). however when user key in the new record, only record in tb_aduan will be added but not tb_admin.


what i have to do to make the record in the tb_admin increase according to the increasing of record in tb_aduan?
Reply With Quote
  #2 (permalink)  
Old 03-26-04, 12:17
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Sounds like you need to add an INSERT trigger to the tb_aduan table, or add additional code to your form to do a second INSERT to the tb_admin table.
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #3 (permalink)  
Old 03-26-04, 18:56
fisya fisya is offline
Registered User
 
Join Date: Mar 2004
Posts: 53
i've done it

actually i've tried to do that, but it still cannot run. may be my coding is not right. can you give me the instruction or example.

thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On