[WebDNA] prevent database duplicates

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114690
interpreted = N
texte = 2312 --000000000000b034e90590166125 Content-Type: text/plain; charset="UTF-8" Hello All, Happy Summer! I have a web page that provides exams for the customer. I'm doing a search of the database of questions, and creating a temporary database of random questions, which then generates a web page that looks like an exam. Somehow I am getting duplicate questions. Is there anyway to instruct a [search] or [founditems] tag to reject duplicates? Heroes my search code: [search db=questions_temp_vet.db&grSKU=999&eqQUESTION_TYPEdatarq=C_I&raQUESTION_NUMBERsort=1&QUESTION_NUMBERtype=num&max=[number_of_CI_questions]][founditems] Would this code allow the SKU variable to return the number 1010 twice? Is there a way to prevent this from happening? Thanks for any insight. Stephen F Braun sbraun1@twcny.rr.com --000000000000b034e90590166125 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello All, =C2=A0Happy S= ummer!

I have a web page that provides exams for the cus= tomer.
I'm doing a search of the database of questions, and c= reating a temporary database of random questions, which then generates a we= b page that looks like an exam.

Somehow I am getti= ng duplicate questions.
Is there anyway to instruct a [search] or= [founditems] tag to reject duplicates?

Heroes my = search code: =C2=A0=C2=A0
[search db=3Dquestions_temp_vet.db&= grSKU=3D999&eqQUESTION_TYPEdatarq=3DC_I&raQUESTION_NUMBERsort=3D1&a= mp;QUESTION_NUMBERtype=3Dnum&max=3D[number_of_CI_questions]][founditems= ]

Would this code allow the SKU variable to return= the number 1010 twice?
Is there a way to prevent this from happe= ning?

Thanks for any insight.

Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000b034e90590166125-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] prevent database duplicates (Stephen Braun 2019)
  2. Re: [WebDNA] prevent database duplicates (Stuart Tremain 2019)
  3. Re: [WebDNA] prevent database duplicates (Alex Mccombie 2019)
  4. [WebDNA] prevent database duplicates (Stephen Braun 2019)
2312 --000000000000b034e90590166125 Content-Type: text/plain; charset="UTF-8" Hello All, Happy Summer! I have a web page that provides exams for the customer. I'm doing a search of the database of questions, and creating a temporary database of random questions, which then generates a web page that looks like an exam. Somehow I am getting duplicate questions. Is there anyway to instruct a [search] or [founditems] tag to reject duplicates? Heroes my search code: [search db=questions_temp_vet.db&grSKU=999&eqQUESTION_TYPEdatarq=C_I&raQUESTION_NUMBERsort=1&QUESTION_NUMBERtype=num&max=[number_of_CI_questions]][founditems] Would this code allow the SKU variable to return the number 1010 twice? Is there a way to prevent this from happening? Thanks for any insight. Stephen F Braun sbraun1@twcny.rr.com --000000000000b034e90590166125 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello All, =C2=A0Happy S= ummer!

I have a web page that provides exams for the cus= tomer.
I'm doing a search of the database of questions, and c= reating a temporary database of random questions, which then generates a we= b page that looks like an exam.

Somehow I am getti= ng duplicate questions.
Is there anyway to instruct a [search] or= [founditems] tag to reject duplicates?

Heroes my = search code: =C2=A0=C2=A0
[search db=3Dquestions_temp_vet.db&= grSKU=3D999&eqQUESTION_TYPEdatarq=3DC_I&raQUESTION_NUMBERsort=3D1&a= mp;QUESTION_NUMBERtype=3Dnum&max=3D[number_of_CI_questions]][founditems= ]

Would this code allow the SKU variable to return= the number 1010 twice?
Is there a way to prevent this from happe= ning?

Thanks for any insight.

Stephen F Braun
sbraun1@twcny.rr.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000b034e90590166125-- . Stephen Braun

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Authenticate (1997) encrypt (2000) OT - AppleScript Request (2004) Database wiped clean (2005) Need help with search title (1998) [WebDNA] Quick grep question (2009) WebCatalog 4.0.1 has been released! (2000) nesting limits? (1998) flushdatabases (2000) what's wrong with this picture (2006) A Global Variable (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) remotely add + sign (1997) [WebDNA] MD5 Hash issue (2009) international time (1997) Mac: LModelDirector bug fix (1997) HELP WITH DATES (1997) [OT] (waaaay OT) (2004) tpl pages in dreamweaver (2000) [shownext] and descending order (1997)