Jump to content

Passing a variable in link, new or existing record


Recommended Posts

First off, first post, I'm no .asp guru, but I get the job done...

 

When passing a variable to a new page something like this:

www.database.com/test.asp?mrnsearch=203434

Is there a way in .asp to create that record number in the db if it does not exist? I know I can easily open the record, but can I create a new one its it's not there?

For instance I want to open mrn 203434 is if exists, if not create it and open it.

 

Thanks

Edited by z06-dave
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...