=Why this =work, without SUMM=3DTI'm going to try your exemple.Thanks Kenneth,I did add the "_"=; in Brian's code, so this isn't a problem. Exept if it gets a prob=lem with the DB...
<=/div>But what I don't understand is...
[search db=3Dbases/_temp.db&ne_emailda=tarq=3D[BLANK]&_emailSORT=3D1&_ emailsdir=3Das&max=3D1=0]
And once I add the Summ=3DT it creat a Crash
[search d=b=3Dbases/_temp.db&ne_emaildatarq=3D[BLANK]&_emailSORT=3D1&=;_ emailsdir=3Das&_emailSUMM=3DT&max=3D 10]
=C2=A0
The page
http://www.tourismethaifr.com/admin/letter/sendmail/=maj_ base_emailing.tpl ------------------------------2017-12-=12 12:04 GMT+01:00 Kenneth Grome <ken@webdnasolutions.com>:> sorry... removed the sum=m but not the field name... below correct
> temp.db&neemaildatarq=3D[BLANK]&emailSORT=3D1&emailsd=ir=3Das&max=3D1 Brian, you keep posting example code that won't work because0][showif
[numfound]>0]Yahooo![/Showif][/search]
you're apparently assuming that the field name is "email" whe=n in
fact it is "_email" ...
I actually think that this field name may be the source of the
problem here.=C2=A0 Hasn't it always been a "rule" that we ar=e supposed
to begin our field names with alphabetical characters?=C2=A0 If so,
then maybe this rule was not strictly enforced until version 8.5.
Lawrence, if you try this maybe it will help diagnose the problem:
1- close the db
2- manually change the field name from "_email" to "email&qu=ot;
3- test with these new searches:
[search db=3Dbases/_temp.db&neemaildatarq=3Dx][numfound][/search]<=br>
[search
db=3Dbases/_temp.db&neemaildatarq=3Dx&emailsumm=3DT][numfound]=[/ search]
If these searches work then you need to stop using "_" as the
first character in your field names.
BTW, you should absolutely not need to use a sort or max parameter
when doing a search of this (or any other) database.
Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database Systems and Linux Server Administration
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@w=ebdna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: suppo=rt@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna? numero=3D55 Bug Reporting: suppo=rt@webdna.us
=Why this =work, without SUMM=3DTI'm going to try your exemple.Thanks Kenneth,I did add the "_"=; in Brian's code, so this isn't a problem. Exept if it gets a prob=lem with the DB...
<=/div>But what I don't understand is...
[search db=3Dbases/_temp.db&ne_emailda=tarq=3D[BLANK]&_emailSORT=3D1&_ emailsdir=3Das&max=3D1=0]
And once I add the Summ=3DT it creat a Crash
[search d=b=3Dbases/_temp.db&ne_emaildatarq=3D[BLANK]&_emailSORT=3D1&=;_ emailsdir=3Das&_emailSUMM=3DT&max=3D 10]
=C2=A0
The page
http://www.tourismethaifr.com/admin/letter/sendmail/=maj_ base_emailing.tpl ------------------------------2017-12-=12 12:04 GMT+01:00 Kenneth Grome <ken@webdnasolutions.com>:> sorry... removed the sum=m but not the field name... below correct
> temp.db&neemaildatarq=3D[BLANK]&emailSORT=3D1&emailsd=ir=3Das&max=3D1 Brian, you keep posting example code that won't work because0][showif
[numfound]>0]Yahooo![/Showif][/search]
you're apparently assuming that the field name is "email" whe=n in
fact it is "_email" ...
I actually think that this field name may be the source of the
problem here.=C2=A0 Hasn't it always been a "rule" that we ar=e supposed
to begin our field names with alphabetical characters?=C2=A0 If so,
then maybe this rule was not strictly enforced until version 8.5.
Lawrence, if you try this maybe it will help diagnose the problem:
1- close the db
2- manually change the field name from "_email" to "email&qu=ot;
3- test with these new searches:
[search db=3Dbases/_temp.db&neemaildatarq=3Dx][numfound][/search]<=br>
[search
db=3Dbases/_temp.db&neemaildatarq=3Dx&emailsumm=3DT][numfound]=[/ search]
If these searches work then you need to stop using "_" as the
first character in your field names.
BTW, you should absolutely not need to use a sort or max parameter
when doing a search of this (or any other) database.
Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com
Web Database Systems and Linux Server Administration
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@w=ebdna.us
To unsubscribe, E-mail to: talk-leave@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting: suppo=rt@webdna.us---------------------------This message is sent to you because you are subscribed tothe mailing list talk@w=ebdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna? numero=3D55 Bug Reporting: suppo=rt@webdna.us
DOWNLOAD WEBDNA NOW!
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...