Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7504539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:36:32+00:00 2026-05-29T21:36:32+00:00

The problem is : There are two pages , one for editing name records

  • 0

The problem is :

There are two pages , one for editing name records and one for adding name records.
If I first open an edit page,then I open an add page , and input a name in add page
before I submit the name, I use the edit page to change the name,
(say change from varChar to integer type)
,after that, return to add page and submit the name.
Should this cause an error? How can I prevent this error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:36:33+00:00Added an answer on May 29, 2026 at 9:36 pm

    In most web applications that I have used, the first valid request to be processed wins. I think you need to clarify your question, though, as it doesn’t sound like the situation you describe would be possible, or it would not be a problem.

    It sounds like NAME is a field in a record, not an entire record on its own. It doesn’t seem like you could change the NAME field and add it at the same time. Let’s imagine you have a record type PERSON that is backed by a table in your database. Each PERSON record has a NAME field that is currently of varChar type. It sounds like you are using a web interface to edit the structure of this table.

    If the table already has a field NAME, the add page submission will report an error because a field called NAME already exists. The edit page would succeed, assuming it is possible to convert the NAME field to the integer type: either there are no records, or the value of NAME in every record can be converted to an integer.

    Another interpretation of your question is that you are changing the NAME field to be something else entirely in the edit screen, perhaps from NAME varChar to AGE integer. You also happen to use the add page to add a new NAME char(10), for example. This would be allowed as long as the edit page submission is processed before the add page submission.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two XAML pages. One page (named Page1) has a listbox named strangers
I have two pages, the parent and from this page I am using: window.open('OrderDetailsFull.aspx?ObjectID='
I will explain problem with an example: There is two table in my database,
Avast there fellow programmers! I have the following problem: I have two rectangles overlapping
The problem it's easy. Is there any function in JAVA to compare two Strings
Ok, here's a problem script. var links = [ 'one', 'two', 'three' ]; for(
I have a master page that divides the main content into two areas. There
I am creating a complete ajax application where there is one base page and
I have two forms on one page: a results form and a search form.
On looking for a solution for a two-domain-classes-in-one-view problem, I ran into the scaffolding

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.