Reply
Old December 8th, 2006 Top | #1
 
daraptor's Avatar
OSNN Junior Addict
Joined: July 2005
Posts: 12
Reputation: 0
Power: 84

Default need some help with coding....

hey guyz,
am tryin to build a site...am having some problems.....what am tryin to do is..am tryin to build a travel search site....i have got this airport codes in a access file....and the table names are....code,airport name,state,country.....
what is the exact SQL query to call a airport code by searching the code so that all name,state and country appear.....and also after i get the results ....how do i populate the parent window using the child window.....i hope someone will help me with this....plz guyz.....thanx for the help......
daraptor is offline   Reply With Quote
Old December 8th, 2006 Top | #2

OSNN Folding Team  
Mainframeguy's Avatar
Debiant by way of Ubuntu
Joined: August 2002
Location: London, UK
Posts: 3,763
Blog Entries: 5
Reputation: 1390
Power: 169

Default Re: need some help with coding....

you need to be specific on columns and if this is an access file I would seriously consider switching to SQL server... basically you need to join your tables on the code, probably in a view - then you can use SQL like

select name, state, country from airports_view where code = yourvalue

As for the parent and child windows - you'll need someone else to help you there...
Mainframeguy is offline   Reply With Quote
Old December 9th, 2006 Top | #3

OSNN Folding Team  
fitz's Avatar
XPista7eopard*ix
Joined: April 2004
Location: Chicagoland
Posts: 4,028
Reputation: 2947
Power: 168

Default Re: need some help with coding....

If I may also suggest using something besides Access as your backed database.

mySQL on the cheap end or any number of other commercial products besides Access.
fitz is offline   Reply With Quote
Old December 9th, 2006 Top | #4

OSNN Folding Team  
Geffy's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: United Kingdom
Posts: 7,805
Reputation: 1490
Power: 217

Default Re: need some help with coding....

Depends what he's working with, if he's using ASP or ASP.NET then Access is typically the better choice. An alternative is MSSQL Express which I believe is free. This gives you a proper if cut down SQL server to interface with.


blogtumbloglastfmflickr#rubyonrails@twitter
"I could be replaced with a very small shell script"
Geffy is offline   Reply With Quote
Old December 9th, 2006 Top | #5
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

Default Re: need some help with coding....

Is this an end of semester final project?
X-Istence is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coding sticky? Sazar Site Problems & Feedback 2 May 31st, 2006 2:24pm
CSS Coding Bman Web Design & Coding 10 April 9th, 2006 5:28pm
Need some help with page coding penguin Web Design & Coding 2 January 26th, 2005 12:37am
Newbie Coding Help Jewelzz Web Design & Coding 8 January 3rd, 2005 12:43pm
coding music Geffy Web Design & Coding 20 November 1st, 2004 10:06am