Re: using WC to create a DB online

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34668
interpreted = N
texte = [writefile file=new.db]name email [/writefile] [closedatabase db=new.db] [waitforfile file=new.db]] [append db=new.db]name=myName&email=myEmail[/append] [/waitforfile]Try using a between fields, not a comma. And put the writefile on the next line to signify a carriage return. Then clode the dbThat should work.Brian Boegershausen E-Commerce Programmer----- Original Message ----- From: Brian Wachter To: WebCatalog Talk Sent: Thursday, July 13, 2000 6:43 PM Subject: using WC to create a DB online > I want to provide the ability for 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/ ------------------------------------------------------------- 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:

    
  1. Re: using WC to create a DB online (Brian Wachter 2000)
  2. Re: using WC to create a DB online (Kenneth Grome 2000)
  3. Re: using WC to create a DB online (WebDNA Support 2000)
  4. Re: using WC to create a DB online (John Butler 2000)
  5. Re: using WC to create a DB online (Jeff Grady 2000)
  6. Re: using WC to create a DB online (Brian Boegershausen 2000)
  7. using WC to create a DB online (Brian Wachter 2000)
[writefile file=new.db]name email [/writefile] [closedatabase db=new.db] [waitforfile file=new.db]] [append db=new.db]name=myName&email=myEmail[/append] [/waitforfile]Try using a between fields, not a comma. And put the writefile on the next line to signify a carriage return. Then clode the dbThat should work.Brian Boegershausen E-Commerce Programmer----- Original Message ----- From: Brian Wachter To: WebCatalog Talk Sent: Thursday, July 13, 2000 6:43 PM Subject: using WC to create a DB online > I want to provide the ability for 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/ ------------------------------------------------------------- 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/ Brian Boegershausen

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:

[random] only for 1-100??? (1997) Spiders and Bots (2000) emailer (1997) [WebDNA] Sorry WebDNA server not running (2014) [OT] "Hacker Safe" (2007) read and write you own cookies with webcat (1997) WebCatalog/WebMerchant 2.1 (1998) [WriteFile] problems (1997) urls (2005) Windows-user? (2000) Superfilous Characters (1998) Not really WebCat (1997) protect tag on NT IIS (1997) RE: Auto conversion of URLs? (1998) Problems passing [SKU] with $Replace in 2.0 (1997) WebCat2b13 Command Reference Doc error (1997) [OT] Apple and 128bit SSL (2003) Help with Repost Data msg from form (1997) hiding links (1999) Help! WebMerchant store suddenly won't process orders... (2001)