Re: [WebDNA] Adding hearder fields to a DB

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113383
interpreted = N
texte = 976 Don't use [addfields] inside a founditems context. Use it separately. BTW I have never used it so I don't even know if it works. Normally I just flushdatabases then add new fields manually. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 01/17/2017 12:02 PM, Lawrence Banahan wrote: > An other question, maybe silly again... > > As far as I know we can add new fields to a database. (the header fields) > Reading the doc have been trying this : > > [search db=Table_HN.txt&neMATRICULEdata=findall] > [FoundItems][AddFields > db=CAR_GLOB.txt]Boat_length=[LONG]&Boat_width=[bau]&Boat_deep=[Tirant][/AddFields] > > [/FoundItems][/search] > > it make sens to me that it would add always the same value, and it is > adding the same value in all the database... > > How do you add fields when you need at the top of a db? > > Can we use mydb.hdr when we use mydb.txt? > > Thanks! > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Adding hearder fields to a DB (Lawrence Banahan 2017)
  2. Re: [WebDNA] Adding hearder fields to a DB (Kenneth Grome 2017)
  3. [WebDNA] Adding hearder fields to a DB (Lawrence Banahan 2017)
976 Don't use [addfields] inside a founditems context. Use it separately. BTW I have never used it so I don't even know if it works. Normally I just flushdatabases then add new fields manually. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 01/17/2017 12:02 PM, Lawrence Banahan wrote: > An other question, maybe silly again... > > As far as I know we can add new fields to a database. (the header fields) > Reading the doc have been trying this : > > [search db=Table_HN.txt&neMATRICULEdata=findall] > [founditems][AddFields > db=CAR_GLOB.txt]Boat_length=[LONG]&Boat_width=[bau]&Boat_deep=[Tirant][/AddFields] > > [/FoundItems][/search] > > it make sens to me that it would add always the same value, and it is > adding the same value in all the database... > > How do you add fields when you need at the top of a db? > > Can we use mydb.hdr when we use mydb.txt? > > Thanks! > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us . Kenneth Grome

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:

WC2.0 Memory Requirements (1997) default value from Lookup (was Grant, please help me) (1997) Limit on nested [ShowIf]'s? (1997) Affiliate Marketing Question #2 (1998) Shipping Based on Number of Items (1998) multiple search of same field (1999) Performance Issue (2000) [tcpsend] (2001) ShowIf variables (1997) Error Log.db --however (1997) Re[2]: when is failing to [URL]ize values in a comparison ri (1999) Adding discount to cart (2000) Displaying raw values (1998) RE: File Uploads (1998) unique ID (1997) [WebDNA] Cannot amend WebDNA prefs (2011) Re1000001: Setting up shop (1997) RE: NewCart+Search with one click ? (1997) WC2b15 File Corruption (1997) shipcost (1997)