Re: [WebDNA] possible bug? (db field named [width])

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108199
interpreted = N
texte = --Apple-Mail-3--948522799 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Govinda! i modified a small test (stress1.dna) and [width] shows fine = under OSX v7 and Linux v6.2 Is it the test you were suggesting? --Apple-Mail-3--948522799 Content-Disposition: attachment; filename=stress1.dna Content-Type: application/octet-stream; name="stress1.dna" Content-Transfer-Encoding: 7bit WebDNA Performance Test [!] ##Check for the Database first - create it if not there--[/!] [showif T=[fileinfo file=speed.db][exists][/fileinfo]] [closedatabase db=speed.db] [deletefile file=speed.db] [/showif] [showif F=[fileinfo file=speed.db][exists][/fileinfo]] [writefile file=speed.db]skuvaluewidth [/writefile] [/showif] [!] ##Delete the records in the DB to ensure the search is 'clean'--[/!] [delete db=speed.db&neSKUdata=find_all] Stress1 | Stress2 | Stress3 | Stress4 | Show records
         
Open a database (2 fields), append 25 records starting in 'qwer' 
[search db=speed.db&neSKUdata=find_all&SKUtype=num&SKUsort=1] [founditems] [index] - [value] - [width]
[/founditems] [/search]
--Apple-Mail-3--948522799 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii - chris On Jan 24, 2012, at 5:46, Govinda wrote: > version=3D6.2 > platform=3Dunix-Linux Intel >=20 > In case anyone is inclined: > please help me confirm: > make a db with a field named [width]..plus other fields >=20 > populate them all, several records...=20 >=20 > search the db.. and display all records' field data to the web page. >=20 > The only way I could get the value of the [width] field is with = [::width] (see manual on "scope"). >=20 > But I don't understand why we should need to step up a level of scope = to get [width]. ?! >=20 > At first I thought it was a collision with a [fileinfo] tag = (somehow).. but I am not using that here. and anyway that tag is named = [imagewidth]. >=20 > Is it way too late and I am being dumb (on top of blurry-eyed)? ... or = is it way too late, but this is still nevertheless a bug? >=20 > -Govinda--------------------------------------------------------- > 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 --Apple-Mail-3--948522799-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] possible bug? (db field named [width]) (christophe.billiottet@webdna.us 2012)
  2. Re: [WebDNA] possible bug? (db field named [width]) (christophe.billiottet@webdna.us 2012)
  3. Re: [WebDNA] possible bug? (db field named [width]) (Govinda 2012)
  4. Re: [WebDNA] possible bug? (db field named [width]) (christophe.billiottet@webdna.us 2012)
  5. Re: [WebDNA] possible bug? (db field named [width]) (William DeVaul 2012)
  6. Re: [WebDNA] possible bug? (db field named [width]) (Govinda 2012)
  7. Re: [WebDNA] possible bug? (db field named [width]) (christophe.billiottet@webdna.us 2012)
  8. Re: [WebDNA] possible bug? (db field named [width]) (Govinda 2012)
  9. Re: [WebDNA] possible bug? (db field named [width]) ("Psi Prime Inc, Matthew A Perosi " 2012)
  10. [WebDNA] possible bug? (db field named [width]) (Govinda 2012)
--Apple-Mail-3--948522799 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Govinda! i modified a small test (stress1.dna) and [width] shows fine = under OSX v7 and Linux v6.2 Is it the test you were suggesting? --Apple-Mail-3--948522799 Content-Disposition: attachment; filename=stress1.dna Content-Type: application/octet-stream; name="stress1.dna" Content-Transfer-Encoding: 7bit WebDNA Performance Test [!] ##Check for the Database first - create it if not there--[/!] [showif T=[fileinfo file=speed.db][exists][/fileinfo]] [closedatabase db=speed.db] [deletefile file=speed.db] [/showif] [showif F=[fileinfo file=speed.db][exists][/fileinfo]] [writefile file=speed.db]skuvaluewidth [/writefile] [/showif] [!] ##Delete the records in the DB to ensure the search is 'clean'--[/!] [delete db=speed.db&neSKUdata=find_all] Stress1 | Stress2 | Stress3 | Stress4 | Show records
         
Open a database (2 fields), append 25 records starting in 'qwer' 
[search db=speed.db&neSKUdata=find_all&SKUtype=num&SKUsort=1] [founditems] [index] - [value] - [width]
[/founditems] [/search]
--Apple-Mail-3--948522799 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii - chris On Jan 24, 2012, at 5:46, Govinda wrote: > version=3D6.2 > platform=3Dunix-Linux Intel >=20 > In case anyone is inclined: > please help me confirm: > make a db with a field named [width]..plus other fields >=20 > populate them all, several records...=20 >=20 > search the db.. and display all records' field data to the web page. >=20 > The only way I could get the value of the [width] field is with = [::width] (see manual on "scope"). >=20 > But I don't understand why we should need to step up a level of scope = to get [width]. ?! >=20 > At first I thought it was a collision with a [fileinfo] tag = (somehow).. but I am not using that here. and anyway that tag is named = [imagewidth]. >=20 > Is it way too late and I am being dumb (on top of blurry-eyed)? ... or = is it way too late, but this is still nevertheless a bug? >=20 > -Govinda--------------------------------------------------------- > 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 --Apple-Mail-3--948522799-- christophe.billiottet@webdna.us

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:

Banners and sort of random display (1997) webcat restarting script on Linux? (1999) Mac 4.0b2 Installer Problems (2000) using showpage and showcart commands (1996) WebCatalog 3.0 (Mac) For Sale (2000) Advice needed. (1998) [WriteFile] problems (1997) shipCost formula (1997) WebCatalog [FoundItems] Problem - AGAIN - (1997) RE: WebCatalog2 for NT Beta Request (1997) [sendmail]- bcc? (1998) using a link like http://www.domain.com/username (2000) Images in WebCat (2000) Whois (2003) WebCat2 Append problem (B14Macacgi) (1997) Clean Code: Rules for inserting keyboard returns? (1997) New command suggestion (1997) [WebDNA] How to use [function] (2012) adding up in a db (1997) PIXO support (1997)