[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:

Encyption mail was Suggestions for Topics ... (1998) [append] problem (1997) docs for WebCatalog2 (1997) Virtual hosting and webcatNT (1997) Help! Odd, irreproducible happenings. (1998) Claris HomePage messes up the code (1997) [TaxableTotal] - not working with AOL and IE (1997) [URGENT] Different Results From Math Tag Depending On OS (2006) [sendmail] possible modification needed... (2000) OT: Sending email to lots of subscribers (1999) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) filemaker - orderfile (1997) [OT] Double chars in form (ie 5.2 mac OSX) (2004) Re:2nd WebCatalog2 Feature Request (1996) About WebDNA (2006) WebCat2 beta 11 - new prefs ... (1997) [WebDNA] 6.2 Monitor (2012) Help with Repost Data msg from form (1997) SSL data to/from webcatalog? (2000) Time Display from Database (1997)