User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 422,932 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,421 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 799 | Replies: 8
Reply
Join Date: Aug 2007
Posts: 98
Reputation: GLT is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
GLT GLT is offline Offline
Junior Poster in Training

adding and searching newly added column...HELP PLEASE!!!!! :(

  #1  
Jun 2nd, 2008
Hi guys!

I just worked out how to add new columns to my database tables through dreamweaver i was wondering if anybody knew of a way of now searching for and getting the data from the new column?

I have used dynamic tables for displaying my results, I thought this would then show the newly added table?? it does not. I also do not know how to add data to the new column. I have worked out how to add the column but not how to get the forms to change automatically for adding and displaying info... is this possible?

Any ideas would be great! I really need to get this to work asap!!!

Thanks!
GLT
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2007
Posts: 76
Reputation: anto_nee is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
anto_nee anto_nee is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #2  
Jun 7th, 2008
r u really talking about column, it seems like row.. So refreshing the same page will be the solution.. try that..
Reply With Quote  
Join Date: Aug 2007
Posts: 98
Reputation: GLT is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
GLT GLT is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #3  
Jun 11th, 2008
yeah i mean column...
I know how to enter a new record but the company wants to be able to add a new column to tables in the database if needed... i dont really understand but trying to do as im asked. if they do require a new column in a database table to store extra information about their products and add one how do i provide a way of them them adding information into this column? can this be done??

I am a student on work placement and this seems a bit too advanced for me but my supervisor is not taking that as an answer, he thinks there has to be a way of doing it. Ive only got 2 and 1/2 weeks left so need to get this working if possible ASAP.

Any ideas would be great!
Thanks Guys!

GLT
Reply With Quote  
Join Date: Aug 2007
Posts: 76
Reputation: anto_nee is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
anto_nee anto_nee is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #4  
Jun 11th, 2008
creat a table to maintain the column names of the dynamic table.. once u added a column in ur table, update the new table with the column name...
while retrieving, get the column names first and write the select query to get the details..
i hope this will work..
Reply With Quote  
Join Date: Aug 2007
Posts: 98
Reputation: GLT is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
GLT GLT is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #5  
Jun 23rd, 2008
Thanks for getting back to me!

yeah i understand that i would have to refresh the table somehow but how would i do this so the it will automatically do it if the user adds a new column? Im a bit of a newbi so I have no idea of the code to use for this.

Thanks
GLT
Reply With Quote  
Join Date: Aug 2007
Posts: 76
Reputation: anto_nee is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
anto_nee anto_nee is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #6  
Jun 23rd, 2008
really i confused..
wht actually u want to do..
u r talking about database table or html table??
Reply With Quote  
Join Date: Aug 2007
Posts: 98
Reputation: GLT is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
GLT GLT is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #7  
Jun 23rd, 2008
once i add a new column to the DATABASE table through my application i need the HTML table and insert form to somehow refresh to include this new column.

Sorry for confusing you!
Reply With Quote  
Join Date: Aug 2007
Posts: 76
Reputation: anto_nee is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 4
anto_nee anto_nee is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #8  
Jun 23rd, 2008
as i previously said.. use a table to keep the column names..

first fetch the data from the ref table to get the column names..

then get the rows from ur transanction table..
Reply With Quote  
Join Date: Aug 2007
Posts: 98
Reputation: GLT is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
GLT GLT is offline Offline
Junior Poster in Training

Re: adding and searching newly added column...HELP PLEASE!!!!! :(

  #9  
Jun 24th, 2008
i dont really understand.. sorry!!! bit of a newbi!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 1:58 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC