Re: using WC to create a DB online
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34687
interpreted = N
texte = [writefile file=new.db]name
email[/writefile][waitforfile file=new.db]] [append db=new.db]name=myName&email=myEmail[/append] [/waitforfile]no?-JohnJeff Grady wrote:> If new.db always has this structure (two fields named> name and email) you can always keep a template db> that is TAB DELIMITED with the field names already in> it anywhere on your server, then copy it to where it> should live>> [COPYFILE from=FromFile&to=ToFile]>> Then append values to it.> [append db=new.db]name=myName&email=myEmail[/append]>> r someone to create> > a new database on my> > server via their web browser using WebCat 3.0> > commands (Mac/WebStar> > server). My approach can be illustrated using the> > following simplified> > example. My intent in this example is to create a> > new database called> > new.db with the field names name and email and> > then create a record> > whose values were myName and myEmail. I was> > hoping that WebCat would> > open the new file, convert it to tab-delimited> > format and add the record.> > Here's the code:> >> > [writefile file=new.db]name,email[/writefile]> > [waitforfile file=new.db]]> > [append> > db=new.db]name=myName&email=myEmail[/append]> > [/waitforfile]> >> > Any suggestions for what I'm doing wrong or maybe a> > better approach? I> > suspect that the fields are not being seen as> > database fields.> >> > Thanks,> >> > Brian Wachter> > Stoneport Technologies, LLC> > (207) 772-3826> >> >> >> -------------------------------------------------------------> > 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://search.smithmicro.com/>> __________________________________________________> Do You Yahoo!?> Get Yahoo! Mail ? Free email you can access from anywhere!> http://mail.yahoo.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://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
[writefile file=new.db]nameemail[/writefile][waitforfile file=new.db]] [append db=new.db]name=myName&email=myEmail[/append] [/waitforfile]no?-JohnJeff Grady wrote:> If new.db always has this structure (two fields named> name and email) you can always keep a template db> that is TAB DELIMITED with the field names already in> it anywhere on your server, then copy it to where it> should live>> [COPYFILE from=FromFile&to=ToFile]>> Then append values to it.> [append db=new.db]name=myName&email=myEmail[/append]>> r someone to create> > a new database on my> > server via their web browser using WebCat 3.0> > commands (Mac/WebStar> > server). My approach can be illustrated using the> > following simplified> > example. My intent in this example is to create a> > new database called> > new.db with the field names name and email and> > then create a record> > whose values were myName and myEmail. I was> > hoping that WebCat would> > open the new file, convert it to tab-delimited> > format and add the record.> > Here's the code:> >> > [writefile file=new.db]name,email[/writefile]> > [waitforfile file=new.db]]> > [append> > db=new.db]name=myName&email=myEmail[/append]> > [/waitforfile]> >> > Any suggestions for what I'm doing wrong or maybe a> > better approach? I> > suspect that the fields are not being seen as> > database fields.> >> > Thanks,> >> > Brian Wachter> > Stoneport Technologies, LLC> > (207) 772-3826> >> >> >> -------------------------------------------------------------> > 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://search.smithmicro.com/>> __________________________________________________> Do You Yahoo!?> Get Yahoo! Mail ? Free email you can access from anywhere!> http://mail.yahoo.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://search.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://search.smithmicro.com/
John Butler
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:
Searching multiple fields from one form field (1997)
where to put code (1998)
Email Line Breaks (2003)
Anyone running communigate (2001)
[WriteFile] problems (1997)
Summary search -- speed (1997)
Searching multiple Databases (1997)
a new bug? (1999)
RE: How to verify email address (1997)
Pre-flight public flag (1997)
A question on sub-categories (1997)
SiteEdit Pro Update Announcement (1997)
select multiple 2 more cents (1997)
syntax question, not in online refernce (1997)
4.5.1 upgrade? (2003)
Showif, Hideif reverse logic ? (1997)
I try hard to think positively (1998)
Ready to h[url]!!! (1999)
Looping Search Results - Duh! (2000)
WebCat2 beta 11 - new prefs ... (1997)