Re: [WebDNA] possible bug? (db field named [width])
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108197
interpreted = N
texte = For me this just goes back to my college database theory class where I learned that, no matter what, you should never ever use any reserved word as a variable name. Even when, in this case, it seems completely valid.-MattOn 1/24/2012 2:46 AM, Govinda wrote:> version=6.2> platform=unix-Linux Intel>> In case anyone is inclined:> please help me confirm:> make a db with a field named [width]..plus other fields>> populate them all, several records...>> search the db.. and display all records' field data to the web page.>> The only way I could get the value of the [width] field is with [::width] (see manual on "scope").>> But I don't understand why we should need to step up a level of scope to get [width]. ?!>> 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].>> 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?>> -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>>>> -- > Matthew A Perosi> Corporate Consultant> Mobile Marketing Expert> Senior Web Developer> SEO Analyst& Educator>> Psi Prime, Inc.> 323 Union Blvd.> Totowa, NJ 07512>> Service: 973.413.8211> Training: 973.413.8214> Fax: 973.413.8217>> http://www.perosi.com
Associated Messages, from the most recent to the oldest:
For me this just goes back to my college database theory class where I learned that, no matter what, you should never ever use any reserved word as a variable name. Even when, in this case, it seems completely valid.-MattOn 1/24/2012 2:46 AM, Govinda wrote:> version=6.2> platform=unix-Linux Intel>> In case anyone is inclined:> please help me confirm:> make a db with a field named [width]..plus other fields>> populate them all, several records...>> search the db.. and display all records' field data to the web page.>> The only way I could get the value of the [width] field is with [::width] (see manual on "scope").>> But I don't understand why we should need to step up a level of scope to get [width]. ?!>> 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].>> 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?>> -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>>>> -- > Matthew A Perosi> Corporate Consultant> Mobile Marketing Expert> Senior Web Developer> SEO Analyst& Educator>> Psi Prime, Inc.> 323 Union Blvd.> Totowa, NJ 07512>> Service: 973.413.8211> Training: 973.413.8214> Fax: 973.413.8217>> http://www.perosi.com
"Psi Prime Inc, Matthew A Perosi "
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:
Using tags to create a file name (2000)
flushdatabases (1997)
Summing fields (1997)
restarting service remotely on NT (1997)
Date Formats (1997)
Multiple prices (1997)
Searchable list archive (1997)
[WebDNA] annoucement - WebDNA 8.0.2 (2015)
trouble updating records in database (1998)
Frames and WebCat (1997)
Locking up with WebCatalog... (1997)
shipCost -vs- shippingtotal ? (2000)
Sku numbers (1997)
Tab Charactor (1997)
4.0 image uploading /features (2000)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Possible Bug in 2.0b15.acgi (1997)
RE: [WebDNA] Handling passwords in WebDNA (2010)
problems with 2 tags (1997)
WebCat2.0 [format thousands .0f] no go (1997)