Hello All!
I have a shipping profile page that i created and works perfectly. User can create multiple shipping addresses that post to an access DB and they can then edit them (1 at a time). I have all the appropriate java validators in place for the submit (that took about 300 lines of code :) ). I have it to where the user can only have one default address as well.
The question that i have relates to auto entering a default shipping address.
If one is not selected in the database i would like to loop throught the recordset and select the top 1. If the user deletes the default address i want to select the top 1. If one already exists then i want keep that one selected.
I have been working on this for a while and have put it aside so i could reset my thoughts.
Thanks for any help
Jason
Printedgoods
I have a shipping profile page that i created and works perfectly. User can create multiple shipping addresses that post to an access DB and they can then edit them (1 at a time). I have all the appropriate java validators in place for the submit (that took about 300 lines of code :) ). I have it to where the user can only have one default address as well.
The question that i have relates to auto entering a default shipping address.
If one is not selected in the database i would like to loop throught the recordset and select the top 1. If the user deletes the default address i want to select the top 1. If one already exists then i want keep that one selected.
I have been working on this for a while and have put it aside so i could reset my thoughts.
Thanks for any help
Jason
Printedgoods
Comment