Conserving database selections when changing pages

Results 1 to 2 of 2

Thread: Conserving database selections when changing pages

  1. #1
    Giuseppe Guest

    Default Conserving database selections when changing pages

    I&#039m quite new to ASP, so I hope that some "guru" will hear my SOS...<BR>I&#039ve developped a Bibliographic database using an Access mdb file and ASP.<BR>There is a general form for inserting text data in some field and to select already present fields from other tables to compose the main record (i.e. selection from Authors table to add author/s to the bibliographic object). The general form include buttons to add also elements in the various table from which they are selected (i.e. if i need to insert a new author before selecting it) and these buttons calls with "onclick" a javascript instruction location.replace() to go to the new insert page to introduce a new field in some table (i.e. new author). But after inserting a new element in a sub-table, coming back at the general form, I loose the already made selections in the various combo boxes and the text introduced in text lines. <BR>Is there a way to avoid this obstacoling problem?<BR>Session variables?<BR>other hints?<BR>Thanks in advance for your kind attention!<BR><BR>Beppe

  2. #2
    Join Date
    Dec 1969

    Default RE: Conserving database selections when changing p

    Send the data through a query string and then use request to "get it back" once you have entered the new info and passed back into the previous page. Or - pass the info into a session-state variable...i think is how you do it (no blaming me for wrong info though...)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts