PDA

View Full Version : Getting PopUps to return Values


briesmith
03-13-2003, 05:45 PM
Hello

I am successfully creating a PopUp window which searches an (ACCESS) d/b for a name value. I need to get the value (the person's name say) found in the PopUp back into a designated field in the Parent and I am finding it very difficult to get the variable and the URL (of the parent) all contained on the one <a href ...></a> line. I know it's "syntax stupid!" but I don't know what it is! Help appreciated.

Once I get the value back to the Parent I know I won't be able to put it into the appropriate field on the Parent form so any anticipatory help with that problem will also be appreciated.

Finally, my search field happily submits the form everytime a letter is entered into it using onkeyup submit etc but the second letter goes into the search field before the first letter and the third before the second because returning to the field each time puts the cursor (the insertion point?) at the beginning of the field and not at the end of the string of search letters already entered. If I just use a standard submit button, second and subsequent letters are entered in the correct order and the search correctly narrows down but using a submit button doubles the amount of keystrokes required because you have to enter a search letter then click submit (or press ENTER) to try each one.

Any and all thoughts gratefully accepted.

Brian Smith

joh6nn
03-13-2003, 11:59 PM
can you link to, attach, or post the code you're using?