Re: [WebDNA] products.db

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110241
interpreted = N
texte = Checkboxes. A clue then. I'm guessing this isn't a WebDNA issue but rather a= n issue with form processing. Checkboxes that are not checked do not exist i= n formvariables. Are you doing something like this:=20 [replace db=3D...]checkedvalue=3D[url][if "[checkedvalue]"!""][then][checked= value][/then][else][/else][/if][/url][/replace] This will set a value in your db but it will never remove a value once it's s= et, even if the checkbox is not selected. =20 Michael Davis 503 704-7148 On Mar 2, 2013, at 3:51 PM, Stephen Braun wrote: > Yes, I have the FLUSHDATABASES tag right in the script. >=20 > I just noticed another odd thing. > I can edit the text fields into the database using the [replace] command. = =20 > I can't edit the checkbox selections using the same replace command. >=20 > I have [url][/url] around each variable. > Hmmm. > sfb >=20 > On Mar 2, 2013, at 4:59 PM, "WJ Starck, DDS" wrote: >=20 >> Did you flush databases before trying to change the file permissions? >>=20 >>=20 >> William J. Starck, DDS >> Starck Oral Surgery >> 1850 Keller Parkway Suite 102 >> Keller, TX 76248 >> 817-431-9566 >> http://www.drstarck.com >>=20 >>=20 >> On Mar 2, 2013, at 3:45 PM, Stephen Braun wrote: >>=20 >>> Hi All, >>> I have a file called products.db >>> Is this a 'protected' file name or something special? >>>=20 >>> I can't write data to it anymore. >>> Every time I check, it is CHMOD 660, so I set it to 775, but it reverts= back to 660. >>>=20 >>> Any ideas? >>>=20 >>> Thanks, >>> sfb >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] products.db (Stephen Braun 2013)
  2. Re: [WebDNA] products.db (Stuart Tremain 2013)
  3. Re: [WebDNA] products.db (Michael Davis 2013)
  4. Re: [WebDNA] products.db (Donovan Brooke 2013)
  5. Re: [WebDNA] products.db (Stephen Braun 2013)
  6. Re: [WebDNA] products.db ("WJ Starck, DDS" 2013)
  7. [WebDNA] products.db (Stephen Braun 2013)
Checkboxes. A clue then. I'm guessing this isn't a WebDNA issue but rather a= n issue with form processing. Checkboxes that are not checked do not exist i= n formvariables. Are you doing something like this:=20 [replace db=3D...]checkedvalue=3D[url][if "[checkedvalue]"!""][then][checked= value][/then][else][/else][/if][/url][/replace] This will set a value in your db but it will never remove a value once it's s= et, even if the checkbox is not selected. =20 Michael Davis 503 704-7148 On Mar 2, 2013, at 3:51 PM, Stephen Braun wrote: > Yes, I have the FLUSHDATABASES tag right in the script. >=20 > I just noticed another odd thing. > I can edit the text fields into the database using the [replace] command. = =20 > I can't edit the checkbox selections using the same replace command. >=20 > I have [url][/url] around each variable. > Hmmm. > sfb >=20 > On Mar 2, 2013, at 4:59 PM, "WJ Starck, DDS" wrote: >=20 >> Did you flush databases before trying to change the file permissions? >>=20 >>=20 >> William J. Starck, DDS >> Starck Oral Surgery >> 1850 Keller Parkway Suite 102 >> Keller, TX 76248 >> 817-431-9566 >> http://www.drstarck.com >>=20 >>=20 >> On Mar 2, 2013, at 3:45 PM, Stephen Braun wrote: >>=20 >>> Hi All, >>> I have a file called products.db >>> Is this a 'protected' file name or something special? >>>=20 >>> I can't write data to it anymore. >>> Every time I check, it is CHMOD 660, so I set it to 775, but it reverts= back to 660. >>>=20 >>> Any ideas? >>>=20 >>> Thanks, >>> sfb >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Michael Davis

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:

WebCatalog NT beta 18 problem (1997) Encrypted email (2000) File Upload (1997) Passing Variable (was How to add product size) (1997) problems with WebCat-Plugin () Data Entry ... Excel Style ... How To? (2001) Mac 2.1b4 unknown error: BadSuffix (1997) Paths change questions ... (2004) loops (2000) Quit revisited (1997) WebCommerce: Folder organization ? (1997) format problem on NT? (1997) Bug? (1997) PCS Customer submissions ? (1997) Re2: frames & carts (1997) RE: WebCat and image maps (1997) Forms Search Questions (1997) Copyright ? (1997) File Format Validation (2005) WebCommerce: Folder organization ? (1997)