By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,659 Members | 1,678 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,659 IT Pros & Developers. It's quick & easy.

Is it possible to re-enter form values from second table?

P: 8
In (asp classic) i have a form(one), a user access it by login-- then some values are pre-filled by session variables --- after that if user selects [add contacts] from add button then from pop up window he chooses one contact from contacts list ,,,is it possible to refill these values to form(a). I think I have cleared my point.

I did this in that way….
As user is logged in on form(one) he selects one contact from pop up window
And if I populate these values to form(two) its working fine, and if I cut query from form(two) and paste to form(one) it gives error.

So after putting query in form(one) when user clicks on send package,,,,,, page generate error, Because query is trying to find requested contacts_id and that’s why page generate error..
I don’t know how to resolve this.
And the error is
Error Type:
Microsoft JET Database Engine (0x80040E14)
Syntax error (missing operator) in query expression 'contacts_id='.

For more understanding……….
Login page>>member area>>send package>>form(one)—select contacts---if successful it goes to form(one) other wise it generates error.

In member area page -send package- link is open by this…
<a href="send_package.asp?client_id=<%=session("mem_i d")%>">Send Package</a>
so logically it is working fine,,, until I paste query from form(two)…

I am new to asp so that’s why I need help,,, thanks to all :)
Jan 9 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.