Re: using WC to create a DB online
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34675
interpreted = N
texte = If new.db always has this structure (two fields namedname and email) you can always keep a template dbthat is TAB DELIMITED with the field names already init anywhere on your server, then copy it to where itshould 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/
Associated Messages, from the most recent to the oldest:
If new.db always has this structure (two fields namedname and email) you can always keep a template dbthat is TAB DELIMITED with the field names already init anywhere on your server, then copy it to where itshould 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/
Jeff Grady
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:
Preventing Merchant Settling ? (1997)
PCS Emailer's role ? (1997)
Netscape v. IE (1997)
[include] affect on filepaths for links? (1997)
Exclamation point (1997)
Can't Search field (1998)
Using the new syntax/scoping methods (2000)
(1997)
Protecting webdelivery (1997)
Wanted: Broader string manipulation functions (1997)
WebCat preferences caching problem (2000)
Date or time comparisons have bugs ... (1998)
[showif] and equality (1998)
Meet your competition (2000)
TRAINING videos - Prove IT. (1998)
[include ...] behavior (1997)
Inconsistent Code (2006)
RE: automatic reload of frameset (1997)
different ship dates and shopping carts -- how to? (1997)
WebCat table size. (2001)