Pinochet
Posts: 13
|
| Posted: 08/03/2004, 3:29 PM |
|
I have an IT request table that can have many attachment files related to a single IT request. I wanted to use the upload component to handle this. It seemed like it couldn’t or wasn’t designed to handle this particular scenario of many files to one record. BTW, please correct me if I’m wrong on all this and there’s a better way to do it then the accidental way I stumbled on.
So, I tried putting the upload component in a updateable grid with 5 rows and 1 blank row and that didn’t work. So I set the rows to 1 and the blank rows to 1 and set the grid to only handle inserts. And like magic the page when published worked great. In fact it didn’t display the filename and filesize next to the browse field (something I wanted) and simply was a blank field with the browse button and a submit button. I have no idea why the filesize and filename labels don’t display. This was just a test to see what happened.
So, since I had a way to add files I decided to add a updateable grid to handle the deletion of these files. These two items on one page make a simple way to add files to my IT requests records, only thing left is to figure out how to get the filesize value of the upload component into the DB also.
Jeff
_________________
don't worry it doesn't mean anything anyway |
 |
 |
Pinochet
Posts: 13
|
| Posted: 08/03/2004, 3:33 PM |
|
Just realized I still have to figure out how to get the files of the server....DUH! Well back to the drawing board....
_________________
don't worry it doesn't mean anything anyway |
 |
 |
|