Re: [WebDNA] [append] does not add the newline char at the end of
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103362
interpreted = N
texte = Hi Guys,here is a couple files that you can use to test [append] with on your installation of WebDNA.First, create a database and save into a test directory with proper permissions:----test.db------------tID
tfield1-----------------------then, put code into that same directory (again with appropriatepermissions):----index.html---------[closedatabase db=test.db][append db=test.db&AUTONUMBER=tID]tfield1=somevalue[/append][commitdatabase db=test.db][showif [url][F_action][/url]=deleteall][closedatabase db=test.db][delete db=test.db&netIDdatarq=find_all][commitdatabase db=test.db][/showif]Search result:
[search db=test.db&eqtfield1datarq=somevalue&astIDsort=1&tIDtype=num][numfound] record[hideif [numfound]=1]s[/hideif] found
[founditems][index]: [tID]:[tField1]
[/founditems][/search]
Hit to test append
Delete All records------------------------Hit the "Hit" href to take a look at your append in action. If this works, the problem is most likely in your code. Remember, WebDNA's .db'sreside in RAM first, then on your HD.. so take that intoconsideration when writing your apps.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Associated Messages, from the most recent to the oldest:
Hi Guys,here is a couple files that you can use to test [append] with on your installation of WebDNA.First, create a database and save into a test directory with proper permissions:----test.db------------tIDtfield1-----------------------then, put code into that same directory (again with appropriatepermissions):----index.html---------[closedatabase db=test.db][append db=test.db&AUTONUMBER=tID]tfield1=somevalue[/append][commitdatabase db=test.db][showif [url][F_action][/url]=deleteall][closedatabase db=test.db][delete db=test.db&netIDdatarq=find_all][commitdatabase db=test.db][/showif]Search result:
[search db=test.db&eqtfield1datarq=somevalue&astIDsort=1&tIDtype=num][numfound] record[hideif [numfound]=1]s[/hideif] found
[founditems][index]: [tID]:[tField1]
[/founditems][/search]
Hit to test append
Delete All records------------------------Hit the "Hit" href to take a look at your append in action. If this works, the problem is most likely in your code. Remember, WebDNA's .db'sreside in RAM first, then on your HD.. so take that intoconsideration when writing your apps.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Donovan Brooke
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:
using a link like http://www.domain.com/username (2000)
WebDNA and FTP (2003)
This [search] worked before update to 4.5.1 (2003)
More on the email templates (1997)
cr/cr/lf under WebSite ($WebCat.exe) confirmed (2000)
RE: Missing contexts on NT (1997)
PSC recommends what date format yr 2000??? (1997)
Multiple Image Upload --> ImageMagick (2005)
Ok here is a question? (1997)
[WebDNA] Problem with Trigers. (2013)
Error Lob.db records error message not name (1997)
Can't Update records (1997)
WC 2.0 frames feature (1997)
Some Advise needed (1997)
Extra equals signs with IE? (More debugging questions...) (1997)
WebCat on Alpha? (1997)
TCP connect, how long does it take (PCS please) (1999)
Formatting a .txt file (1998)
So .. How fast (2003)
[dos] command question (1997)