Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting table from user.

Status
Not open for further replies.

grnzbra

Programmer
Mar 12, 2002
1,273
US
All of the info I see on tables is from the point of view of me presenting a table of info to the user. I also see info on how to get the user to type info into forms that I can then take in. However, what I need is to present the user with a blank table, which he will then fill from a file at his site. After he does this, I will compare it with data in my file and either import his file (or just some records) and tell him what's wrong with the unacceptable records.

Is this do-able? What should I be looking for (what question should I be asking?)
 
why not have the file in some format e.g. CSV or XML that you can then simply upload and compare the content to the expected content ?

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
I need to present a web page with a button and a text box to the user along with a blank table. The user would type in the path to the file (most of them are csv files) and push the button. The file would be read into the table and then the server would look at the table for errors. Those records that had no errors would be taken from the table and added to the base table at the server site. Those with errors would be left and on the table along with a note of the nature of the problem. All this must be done from the website. The only thing we can require the user to do is tell us where, on his machine, he has placed the file.

I am not trying to upload anything. I am trying to present a reciever to which things are uploaded, but all the code for controling the upload needs to be at my end. (Unfortunately, we cannot present a form into which the data is loaded real-time)
 
Just found the solution - the html tag
INPUT Type = "File"
It presents a textbox/browser for him to tell me where the file is and then to send it where I want it at my end. I can then check for errors and import the good records and display the bad records on a table.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top