General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 24th, 2002, 04:43 AM
adipat adipat is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: berlin
Posts: 2 adipat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
navigating between forms

hallo,
i have 2 tables in my mysql database with structure Table 1(id,fgnr,made,type,color,year) and Table 2 (id,fgnr,made,type,name,vorname).for each of these tables i have a corresponding form. i can insert a new row in Table 1 and pass the three variables (fgnr,made,type) in hidden fields to Table 2 which i then insert with the remaining fields.
My Problem:
Say i open form 1 and do any changes to any fields and want to correct the same row in form 2 table 2.how do i go from form 1 to form 2 and display all fields where (fgnr) in form1 equals (fgnr) in form 2. i do not use the id field because there can be 20 rows in table 1 and only 10 in table 2. instead i use it when searching my db. hope anyone can help.
in the attachment file i have code which searches,edits and inserts a new row

Reply With Quote
  #2  
Old September 24th, 2002, 05:37 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,240 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Adipat,

I'm not sure what you're trying to do... Would it be possible to post a snippet of code you have.

It will help determine the problem.


Thanks,
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #3  
Old September 26th, 2002, 05:39 AM
serg4444 serg4444 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Posts: 16 serg4444 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
There is no problem - just put in 1st form Primary Keys row to array, send it to form2 and get data with same numbers

Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com

Reply With Quote
  #4  
Old September 27th, 2002, 03:25 PM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,240 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Sergey,

Thanks for the assistance... I wasn't sure what was trying to be done!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > navigating between forms


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap