CloseDatabase

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13132
interpreted = N
texte = I am trying to set up a command menu choice on the CATALOGADMIN.TMPL page for each of the stores I have configured which will cause the current CATALOG.TXT database file to be closed so that I can upload a newer version. After reading the WebCatalog manual I cannot figure out how to do this in conjunction with a command structure. It seems that I can create a separate TMPL document which has the [closedatabase xxxxx] in it that would look something like this -... ... ... ...The Requested Database Closed ... ... ...[Closedatabase catalog.txt]...

The requested Database has been closed.

... ...Can anyone offer a more simplistic method for closing a single database and allowing the command to appear on the CATALOGADMIN.TMPL page? John Benn, PetsForum Group Associated Messages, from the most recent to the oldest:

    
  1. Re: CloseDataBase vs CommitDataBase ( Terry Wilson 2007)
  2. Re: CloseDataBase vs CommitDataBase ( thierry 2007)
  3. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  4. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  5. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  6. Re: CloseDataBase vs CommitDataBase ( Lester 2007)
  7. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  8. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  9. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  10. Re: CloseDataBase vs CommitDataBase ( Donovan Brooke 2007)
  11. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  12. Re: CloseDataBase vs CommitDataBase ( Lester 2007)
  13. Re: CloseDataBase vs CommitDataBase ( "Dennis J. Bonsall, Jr." 2007)
  14. CloseDataBase vs CommitDataBase ( Lester 2007)
  15. Re: SMSI: closedatabase then replacefounditems inside the same search context ... (Kenneth Grome 2002)
  16. Re: SMSI: closedatabase then replacefounditems inside thesame searchcontext ... (John Peacock 2002)
  17. SMSI: closedatabase then replacefounditems inside the samesearch context ... (Kenneth Grome 2002)
  18. Re: closedatabases simple question.. (Kenneth Grome 2002)
  19. Re: closedatabases simple question.. (Kalin Mintchev 2002)
  20. Re: closedatabases simple question.. (Kalin Mintchev 2002)
  21. Re: closedatabases simple question.. (Jesse Williams-Proudman 2002)
  22. Re: closedatabases simple question.. (Kalin Mintchev 2002)
  23. closedatabases simple question.. (Kalin Mintchev 2002)
  24. Re: closedatabases simple question.. (Jesse Williams-Proudman 2002)
  25. Re: CommitDatabase vs. CloseDatabase (Christer Olsson 2001)
  26. Re: CommitDatabase vs. CloseDatabase (Samuel Renkert 2001)
  27. Re: CommitDatabase vs. CloseDatabase (Christer Olsson 2001)
  28. Re: CommitDatabase vs. CloseDatabase (Samuel Renkert 2001)
  29. Re: CommitDatabase vs. CloseDatabase (Christer Olsson 2001)
  30. Re: CommitDatabase vs. CloseDatabase (Glenn Busbin 2001)
  31. Re: CommitDatabase vs. CloseDatabase (Samuel Renkert 2001)
  32. Re: CommitDatabase vs. CloseDatabase (Grant Hulbert 2001)
  33. Re: CommitDatabase vs. CloseDatabase (Alex McCombie 2001)
  34. Re: CommitDatabase vs. CloseDatabase (Glenn Busbin 2001)
  35. Re: CommitDatabase vs. CloseDatabase (Glenn Busbin 2001)
  36. Re: CommitDatabase vs. CloseDatabase (Samuel Renkert 2001)
  37. Re: CommitDatabase vs. CloseDatabase (Nitai @ ComputerOil 2001)
  38. Re: CommitDatabase vs. CloseDatabase (Nitai @ ComputerOil 2001)
  39. Re: CommitDatabase vs. CloseDatabase (Christer Olsson 2001)
  40. CommitDatabase vs. CloseDatabase (Glenn Busbin 2001)
  41. Can I use a [closedatabase] inside an [exclusivelock]? (Jaishankar Jayaram 2000)
  42. Overwriting databases bug in [closedatabase], garbage filescreated (Dale LaFountain 1998)
  43. Overwriting databases bug in [closedatabase], garbage filescreated (Dale LaFountain 1998)
  44. [closeDataBase myDataBase.db] not working? (Eddie Schrieffer 1997)
  45. RE: CloseDatabase (Marc Eagle 1997)
  46. CloseDatabase (John Benn/PetsForum Grp <76703.4256@CompuServe.COM> 1997)
  47. Re: $Quit, $CloseDatabase corrections (Kenneth Grome 1997)
  48. Re: $Quit, $CloseDatabase corrections (Kenneth Grome 1997)
  49. Re: $Quit, $CloseDatabase corrections (John Hill 1997)
  50. $Quit, $CloseDatabase corrections (Grant Hulbert 1997)
  51. [closedatabase] ( [CLO)
I am trying to set up a command menu choice on the CATALOGADMIN.TMPL page for each of the stores I have configured which will cause the current CATALOG.TXT database file to be closed so that I can upload a newer version. After reading the WebCatalog manual I cannot figure out how to do this in conjunction with a
command structure. It seems that I can create a separate TMPL document which has the [closedatabase xxxxx] in it that would look something like this -... ... ... ...The Requested Database Closed ... ... ...[Closedatabase catalog.txt]...

The requested Database has been closed.

... ...Can anyone offer a more simplistic method for closing a single database and allowing the command to appear on the CATALOGADMIN.TMPL page? John Benn, PetsForum Group John Benn/PetsForum Grp <76703.4256@CompuServe.COM>

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:

Tab Charactor (1997) Where's Cart Created ? (1997) syntax question, not in online refernce (1997) WebCat2b15MacPlugin - showing [math] (1997) Location of Browser Info.txt file (1997) Ready,Set; Print! (1999) Template transformed itself into a database? (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Web Cat not returning html? (2000) Stopping bad HTML propagation ? (1997) WebCatalog/WebMerchant 2.1 (1998) Download URL & access on the fly ? (1997) WebCatalog for Postcards ? (1997) encryption madness (2003) EIMS Problems (1997) Bug Report, maybe (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Upgrading old WebCat Database Files (1997) Smart caching problems with 2.1b3? (1997) WebCat B13 Mac CGI -- Frames question (1997)