texte = I am trying to deal with the Browser Reload button. I don't wantmultiple copies of new customers to be added when the Reload is clicked.My goal is not to have a new record added and customer number incrementedif the customer number already exists.What is the best way to make sure that new customer numbers are given outsequentially in a multi-user web environment?I suppose that instead of looking up by customer number, I should searchby multiple values, and put the customer number in last. How do I search by multiple values?
Customer Number: | [math]newnum=[includefile=custno][/math] |
Customer Name: | [firstname] [lastname] |
[HIDEIF db=d2mcust.db&custcode=[math]newnum[/math]=[includefile=custno&secure=T][/math]][replace append=T&db=d2mcust.db&eqcustcodedata=[math]newnum[/math]]firstname=[firstname]&lastname=[lastname]&company=[company]&building=[building]&suite=[suite]&zipcode=[zipcode]&areacode=[areacode]&phone=[phone]&faxareacode=[faxareacode]&emailname=[emailname]&specdel=[specdel]&custcode=[math]newnum[/math][/replace][WriteFile custno][math]newnum+1[/math][/WriteFile][/HIDEIF]
Associated Messages, from the most recent to the oldest:
|
- Adding new customer numbers sequentially (Larry Orchier 1997)
|
I am trying to deal with the Browser Reload button. I don't wantmultiple copies of new customers to be added when the Reload is clicked.My goal is not to have a new record added and customer number incrementedif the customer number already exists.What is the best way to make sure that new customer numbers are given outsequentially in a multi-user web environment?I suppose that instead of looking up by customer number, I should searchby multiple values, and put the customer number in last. How do I search by multiple values?