Re: So Simple

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61477
interpreted = N
texte = Here's a dumbed down look at how to do it. It's basically a loop that keys off the index of the record found: [search find all records]
[!][/!] [founditems] Name: Secret word: Check to delete this record: [/founditems]
[/search] [!][/!] [showif [makeglobalchanges]=T] [loop start=1&end=[loopnum]][!] [/!][replace db=employees.db&eqskudatarq=[interpret][sku[index]][/interpret]][!] [/!]&ename=[url][interpret][ename[index]][/interpret][/url][!] [/!]&secretword=[url][interpret][secretword[index]][/interpret][/url][!] [/!][/replace][!] [/!][/loop] [!][/!] [loop start=1&end=[loopnum]][!] [/!][delete db=employees.db&eqskudatarq=[interpret][kill[index]][/interpret]][!] [/!][/loop] Gary At 02:19 PM 3/17/2005, you wrote: >Maybe its the lack of sleep. Maybe its the hang over. But I cant get my >brain around this. > >WebDNA 6x > > >Have a simple table of links" >Sku - title - LINKURL - ordernum > > >I want to give the user a form that shows all links in one form and allows >them to change the order on all the records, click update and all the >records are rewritten. > >Like I said I know this is simple but brain not working. :-( > >Example > >Order Title LINKURL >1 First Link Http://somedomain.com >2 First Link Http://somedomain2.com >3 First Link Http://somedomain3.com >4 First Link Http://somedomain4.com > >All of the above would be editable fields. Cant get my brain around the >relationship on field names to record skus on the replace form. > > >Ohms... Ohms... For a poor hung over DNA'r >;-) > > >Alex > > > > >-- >Alex J McCombie Adventure Skies Interactive (ASI) >Owner Box 124 >888/892.6379 MartVille, NY 13111 >Alex@Adventureskies.com > >Interface Designer WebDNA Programmer Database Designer > > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: So Simple ( Gary Krockover 2005)
  2. Re: So Simple ( Donovan Brooke 2005)
  3. Re: So Simple ( 2005)
  4. Re: So Simple ( Alex McCombie 2005)
  5. Re: So Simple ( Gary Krockover 2005)
  6. Re: So Simple ( 2005)
  7. Re: So Simple ( Gary Krockover 2005)
  8. Re: So Simple ( Donovan Brooke 2005)
  9. So Simple ( Alex McCombie 2005)
Here's a dumbed down look at how to do it. It's basically a loop that keys off the index of the record found: [search find all records]
[!][/!] [founditems] Name: [raw][ename][/raw]][input][ename][/Input][/showif][/showif]" size="25"> Secret word: [raw][secretword][/raw]][input][secretword][/Input][/showif][/showif]" size="25"> Check to delete this record: [/founditems]
[/search] [!][/!] [showif [makeglobalchanges]=T] [loop start=1&end=[loopnum]][!] [/!][replace db=employees.db&eqskudatarq=[interpret][sku[index]][/interpret]][!] [/!]&ename=[url][interpret][ename[index]][/interpret][/url][!] [/!]&secretword=[url][interpret][secretword[index]][/interpret][/url][!] [/!][/replace][!] [/!][/loop] [!][/!] [loop start=1&end=[loopnum]][!] [/!][delete db=employees.db&eqskudatarq=[interpret][kill[index]][/interpret]][!] [/!][/loop] Gary At 02:19 PM 3/17/2005, you wrote: >Maybe its the lack of sleep. Maybe its the hang over. But I cant get my >brain around this. > >WebDNA 6x > > >Have a simple table of links" >Sku - title - LINKURL - ordernum > > >I want to give the user a form that shows all links in one form and allows >them to change the order on all the records, click update and all the >records are rewritten. > >Like I said I know this is simple but brain not working. :-( > >Example > >Order Title LINKURL >1 First Link Http://somedomain.com >2 First Link Http://somedomain2.com >3 First Link Http://somedomain3.com >4 First Link Http://somedomain4.com > >All of the above would be editable fields. Cant get my brain around the >relationship on field names to record skus on the replace form. > > >Ohms... Ohms... For a poor hung over DNA'r >;-) > > >Alex > > > > >-- >Alex J McCombie Adventure Skies Interactive (ASI) >Owner Box 124 >888/892.6379 MartVille, NY 13111 >Alex@Adventureskies.com > >Interface Designer WebDNA Programmer Database Designer > > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Gary Krockover

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:

Banner Ad example (Typhoon) and WebCatalog (1997) RAM issue (2006) OT: javascript help (2003) Document Contains No Data! (1997) WebCat2b13MacPlugIn - [include] (1997) includes and cart numbers (1997) [WebDNA] [if] or [case] or something else (2012) hideif/showif causes error if wrapped around searches (2003) Prevent multiple appends with Reload Button (1997) system crashes, event log (1997) Roundup function? (1997) Monthly Help File (1997) Help--WebCat setup (2000) WebCat2b15MacPlugin - [protect] (1997) Searchable Archive: Sender? (1998) [WebDNA] Two questions about sending email on Ubuntu 14.04 (2014) AOL (1999) [OT] PHP?MySQL Help Needed (2003) RequiredFields template (1997) Unable to view next 101-200 (1997)