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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flexgrid? Datagrid? Listbox?

Status
Not open for further replies.

tbellomo

Technical User
Jan 28, 2002
73
US
I'm really kind of stumped on how to do what I want to do. I've looked into flexgrids, datagrids, and listboxes, but none of them seem to suit my needs, or they're for .NET only.

What I need to be able to do is this:
--The user opens a record (it has a unique record id)
--I give the user a list of documents to choose from.
--They select one of them, and click send.
--This writes the record to my SQLServer backend, with recordid (current record), docname(selected doc), and datesent (current date).
--There is also a confirmation date that will need to be populated at a later date.
--They can send multiple documents on one record.
--Each document must be selectable so that they user can go back to it to enter a confirmation date.

I was thinking about 2 listboxes: one to show available document to send, and the other to hold document that have been sent. But listboxes aren't multicolumn, so that won't really work.

I don't know enough about flex or datagrids, or even know if they'll work.

I'm kind concerned that I can't even explain what I'm trying to do. I'm sorry if this doesn't make sense, but I'm at one of those points right now -- where every other part of the app is done, and I have no idea how I'm going to tackle this part of it.

Thanks,
Timo
 
If you gonna use something like this

<select name=&quot;docs&quot; multiple size=5>
<option value=&quot;doc1.doc&quot;>doc1.doc
<option value=&quot;doc2.doc&quot;>doc2.doc
<option value=&quot;doc3.doc&quot;>doc3.doc
<option value=&quot;doc4.doc&quot;>doc4.doc
<option value=&quot;doc5.doc&quot;>doc5.doc
</select>

if you select more then 1 value from the list box and submit to the server, you will have the following values

for i=0 to Request.Form(&quot;docs&quot;).Count -1
curentdoc=Request.Form(&quot;docs&quot;)(i)
next

or you can just let them as it is (comma separated values)

docs=Request.Form(&quot;docs&quot;)
docs will contain &quot;doc1.doc,doc3.doc&quot; if you previosly selected doc1 and doc3 values.

________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top