Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

open record after update

$
0
0

Using the database TekTips.mdb I have created an .asp page through Frontpage2000 called Testdatabase.asp that updates the field "TradeCode2" in table 1.

One-Drive Link:

https://1drv.ms/f/s!AkVNIj06hxI7gQ3vBCZS0jntHQzl


On the page, Testdatabase.asp, I have added a link to the page Profile.asp see screenshot:Testdatabase with link to Profile

Profile.asp draws from the query Tradequery, which includes the fields from table1: TradeCode TradeCode2


In the page Profile.asp, the criteria are shown in the screenshot: Profile Criteria TradeCode=T1 or TradeCode2=T1


In the link to Profile.asp on page Testdatabase.asp, the hyperlink and parameters show as T1=tradecode2

See Hyperlink Properties If the file is open in TestDatabase.asp, and I click on the link (View Profile)to Profile.asp, the page (Profile.asp) opens properly to that same client's record in Profile.asp

Issue:
Anytime I update a record with a form similar to testdatabase.asp after submission the code needs to be re-entered when I send the update page (see screenshot profileup.asp.)

After submitting (updating) on Profile.asp, I get returned to Profile.asp, but not with the same client's file open.

I have to re-enter the code TradeCode or TradeCode2 .

Question:
Is there a way (after the update) to wind up on the page with the client's file open in Profile.asp (as with the link on testdatabase.asp)?

Thanks,
Ron


Viewing all articles
Browse latest Browse all 488

Trending Articles