Thread: Forms
View Single Post
  #1 (permalink)  
Old 11-01-03, 07:55 AM
Reed Reed is offline
New Member
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Forms

Forms
Hello programmers... I have a question:

Can someone tell me/give me an example of how to do this:

In a form you might type in field1 something, say something like this:

"123456789 123456789 123456789 123456789"

is it possible to have an ASP form entry page parse the data into (4) four other fields automatically.

Like this:

filed1 entry = "123456789 123456789 123456789 123456789"

result:

field2 = "123456789"
field3 = "123456789"
field4 = "123456789"
field5 = "123456789"

the ultimate idea here is to have the user type data into one filed, field1, and after a certain amount of data entry, which would always be the same data length have that data parsed into the other fields as outlined above. Actually, data length may change but there could be a space in between, in other words a user may type in field one this for example "1 2 3 4 5 6 7 8 9, the 1 would be parsed into field two, 2 into field 3, etc. and so on.

The common element is the space in between the numbers.

Any help would be appreciated.

I assume that this could be done in two ways: all in one form or one page, my preferance, or done using multiple forms, not my preferance.

The database will be an access 2000 database.

Any help and code samples would be HIGHly appreciated.

email me at reedlinks@aol.com

Thanks

Reed
Reply With Quote