Results 1 to 6 of 6

Thread: Pb with conditional display with ASPdb 2.2127 EP

  1. #1
    François Guest

    Pb with conditional display with ASPdb 2.2127 EP

    Hi,

    We are trying to use a conditional display with the following DbMagicCell. But it does not work: even the same result, the first macrodisplay.
    Does it the right syntax?

    strDbMagicCell = "(~,)~VAL_COD,align=""center"" ,(#PVA_QTE_G_LIQ#|GT|0||"
    strDbMagicCell = strDbMagicCell & &#34; #VAL_COD#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;191&#34;&#34;><font size=1 face=verdana> #VAL_LIB_ABR#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_QTE_G#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_PAM_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_VALO_G_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_PMVL_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_POIDS#</font></td></tr>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<tr><td colspan=2 align=center><font size=1 face=verdana>dont en liquidation</font></font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_QTE_G_LIQ#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_PAM_G_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_VALO_G_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_PMVL_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td align=&#34;&#34;center&#34;&#34;> - </td></tr>~#PVA_QTE_G_LIQ#|EL|||#VAL_COD#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;191&#34;&#34;><font size=1 face=verdana> #VAL_LIB_ABR#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_QTE_G#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_PAM_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_VALO_G_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_PMVL_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_POIDS#</font></td></tr>)&#34;

    François Le Palec
    Oddo & Cie.

  2. #2
    Mark Guest

    Pb with conditional display with ASPdb 2.2127 EP (reply)


    Francois,

    1)
    First, I&#39;ve been trying to send you emails to flepalec@teknika.net
    and they don&#39;t go through. Is there something wrong with your email address?

    2)
    Your dbMagicCell syntax is very wrong. Why do you have (~,) at the beginning? What is that for? Also why do you have lots of <table tags>. What are you trying to do? I would suggest you write a very short simple dbMagicCell and get it to work so you understand it before trying anything so complex. Please see example 2 at our Enterprise examples site to see the CORRECT syntax.

    http://www.aspdb.com/V2/V2_MAGIC.asp

    Mark.


    ------------
    François at 12/6/99 1:19:53 PM

    Hi,

    We are trying to use a conditional display with the following DbMagicCell. But it does not work: even the same result, the first macrodisplay.
    Does it the right syntax?

    strDbMagicCell = &#34;(~,)~VAL_COD,align=&#34;&#34;center&#34;&#34; ,(#PVA_QTE_G_LIQ#|GT|0||&#34;
    strDbMagicCell = strDbMagicCell & &#34; #VAL_COD#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;191&#34;&#34;><font size=1 face=verdana> #VAL_LIB_ABR#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_QTE_G#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_PAM_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_VALO_G_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_PMVL_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_POIDS#</font></td></tr>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<tr><td colspan=2 align=center><font size=1 face=verdana>dont en liquidation</font></font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_QTE_G_LIQ#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_PAM_G_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_VALO_G_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_PMVL_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td align=&#34;&#34;center&#34;&#34;> - </td></tr>~#PVA_QTE_G_LIQ#|EL|||#VAL_COD#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;191&#34;&#34;><font size=1 face=verdana> #VAL_LIB_ABR#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_QTE_G#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_PAM_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_VALO_G_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_PMVL_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_POIDS#</font></td></tr>)&#34;

    François Le Palec
    Oddo & Cie.

  3. #3
    François Le Palec Guest

    Yes!!! But how to format two fields in the same cell

    Hi Mark,

    1) Our mail server has some problem these days... Just answer in this forum! :-)

    2) Ooohh! You&#39;re right! So, I modified my code and now it works... But I need to format two SQL field displayed in the same cell. How can I do that?

    My dbMagicCell code:

    strDbMagicCell = &#34;(¤+)¤VAL_COD+align=&#34;&#34;center&#34;&#3 4;+(#PVA_QTE_G_LIQ#|EQ|0|| #VAL_COD#~#PVA_QTE_G_LIQ#|EL|||#VAL_COD#<br>&nbsp¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;VAL_LIB_ABR+align=&#34;&#34;left&#34;&#34;+(# PVA_QTE_G_LIQ#|EQ|0|| #VAL_LIB_ABR#~#PVA_QTE_G_LIQ#|EL|||#VAL_LIB_ABR#<b r><center>:..dont en liquidation</center>)¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_QTE_G+align=&#34;&#34;right&#34;&#34;+(#P VA_QTE_G_LIQ#|EQ|0|| #PVA_QTE_G#~#PVA_QTE_G_LIQ#|EL|||#PVA_QTE_G#<br>#P VA_QTE_G_LIQ#)¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;CRS_COURS_COT+align=&#34;&#34;right&#34;&#34; +(#PVA_QTE_G_LIQ#|EQ|0|| format=[### ### ##0.00]~#PVA_QTE_G_LIQ#|EL|||format=[### ### ##0.00]<br>#CRS_COURS_COT#)¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_PAM+align=&#34;&#34;right&#34;&#34;+(#PVA _QTE_G_LIQ#|EQ|0|| format=[### ### ##0.00]~#PVA_QTE_G_LIQ#|EL|||format=[### ### ##0.00]<br>#PVA_PAM_G_LIQ#)¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_VALO_G+align=&#34;&#34;right&#34;&#34;+(# PVA_QTE_G_LIQ#|EQ|0|| format=[### ### ##0.00]~#PVA_QTE_G_LIQ#|EL|||format=[### ### ##0.00]<br>#PVA_VALO_G_LIQ#)¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_PMVL+align=&#34;&#34;right&#34;&#34;+(#PV A_QTE_G_LIQ#|EQ|0|| format=[### ### ##0.00]~#PVA_QTE_G_LIQ#|EL|||format=[### ### ##0.00]<br>#PVA_PMVL_LIQ#)¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_POIDS+align=&#34;&#34;right&#34;&#34;+(#P VA_QTE_G_LIQ#|EQ|0|| format=[### ### ##0.00]%~#PVA_QTE_G_LIQ#|EL|||format=[### ### ##0.00]%<br>-)¤&#34;

    I tried to add these lines, but it changed nothing:

    strDbMagicCell = strDbMagicCell & &#34;CRS_COURS_COT++format=[### ### ##0.00]¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_PAM_G_LIQ++format=[### ### ##0.00]¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_VALO_G_LIQ++format=[### ### ##0.00]¤&#34;
    strDbMagicCell = strDbMagicCell & &#34;PVA_PMVL_LIQ++format=[### ### ##0.00]¤&#34;

    Thanx for your help,
    François.

    ------------
    Mark at 12/6/99 4:32:48 PM


    Francois,

    1)
    First, I&#39;ve been trying to send you emails to flepalec@teknika.net
    and they don&#39;t go through. Is there something wrong with your email address?

    2)
    Your dbMagicCell syntax is very wrong. Why do you have (~,) at the beginning? What is that for? Also why do you have lots of <table tags>. What are you trying to do? I would suggest you write a very short simple dbMagicCell and get it to work so you understand it before trying anything so complex. Please see example 2 at our Enterprise examples site to see the CORRECT syntax.

    http://www.aspdb.com/V2/V2_MAGIC.asp

    Mark.


    ------------
    François at 12/6/99 1:19:53 PM

    Hi,

    We are trying to use a conditional display with the following DbMagicCell. But it does not work: even the same result, the first macrodisplay.
    Does it the right syntax?

    strDbMagicCell = &#34;(~,)~VAL_COD,align=&#34;&#34;center&#34;&#34; ,(#PVA_QTE_G_LIQ#|GT|0||&#34;
    strDbMagicCell = strDbMagicCell & &#34; #VAL_COD#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;191&#34;&#34;><font size=1 face=verdana> #VAL_LIB_ABR#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_QTE_G#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_PAM_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_VALO_G_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_PMVL_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;78&#34;&#34;><font size=1 face=verdana> #PVA_POIDS#</font></td></tr>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<tr><td colspan=2 align=center><font size=1 face=verdana>dont en liquidation</font></font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_QTE_G_LIQ#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_PAM_G_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_VALO_G_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td><font size=1 face=verdana> #PVA_PMVL_LIQ_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td align=&#34;&#34;center&#34;&#34;> - </td></tr>~#PVA_QTE_G_LIQ#|EL|||#VAL_COD#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;191&#34;&#34;><font size=1 face=verdana> #VAL_LIB_ABR#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_QTE_G#</td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #CRS_COURS_COT_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_PAM_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_VALO_G_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_PMVL_&#34; & strCurrency &&#34;#</font></td>&#34;
    strDbMagicCell = strDbMagicCell & &#34;<td bgcolor=D2E7C8 width=&#34;&#34;82&#34;&#34;><font size=1 face=verdana> #PVA_POIDS#</font></td></tr>)&#34;

    François Le Palec
    Oddo & Cie.

  4. #4
    Mark Guest

    Yes!!! But how to format two fields in the same cell (reply)

    .
    François,
    Just separate them with semi-colons (. See the Example at:
    http://www.aspdb.com/V2/V2_MAGIC.asp
    -------------------------------------------------------------------
    Now, on the other matter you emailed us about on November 30 ...

    You wrote:
    When I use your example on my IIS with ASPdb Pro
    version 1.1314, I get two <TR>&#39;s at the beginning
    of the table generated by ASPdb ...

    Dear François,

    I am sorry to hear you are having a problem with ASP-db.

    We have not had any other complaints regarding the behavior that
    you described. If you would like to submit an &#34;Incident&#34; we can
    investigate it for you for a charge of $95. If the problem is due
    to a bug in ASP-db, the Incident fee will be waived - AND we will
    send you a FREE UPDATE that fixes the reported problem if at all
    possible. In either case, we would ask that you try to reproduce
    this problem using either Microsoft&#39;s Access Northwind database or
    the SQL Server PUBS database.

    Please submit the source code (asp file) that repoduces this
    problem, along with a description of the steps we will need to go
    through to see the problem that you are reporting. It would also
    be VERY HELPFUL if you could send the SHORTEST, SIMPLEST
    example that demonstrates this problem.

    Thanks.
    Mark.

  5. #5
    François Le Palec Guest

    Yes!!! But how to format two fields in the same cell (reply)

    Hi Mark,

    MMmmm... Actually, this is not what I need. Here is a simple example of what I want. Imagine I have the following SQL request:

    Mydb.dbSQL = &#34;SELECT Value1, Value2 FROM MyTable&#34;

    But I want to display these two values in the same <table> cell. So I use the following code:

    MyDb.GridDisplayFlds = &#34;0&#34;
    MyDb.dbMagicCell = &#34;Value1,,format=[### ##0.00]<br>#Value2#&#34;

    Ok... So Value1 is formatted. But how can I do to format Value2?

    Thanx for your help.
    François.

    PS: concerning the other problem, I checked everything... and I think this is a bug which has been corrected in the last ASPdb versions... but this application will be hosted by InnerHost and I don&#39;t want to wait for us to update their ASPdb... So I have re-written the table display function in pure ASP.

    ------------
    Mark at 12/7/99 10:07:26 AM

    .
    François,
    Just separate them with semi-colons (. See the Example at:
    http://www.aspdb.com/V2/V2_MAGIC.asp
    -------------------------------------------------------------------
    Now, on the other matter you emailed us about on November 30 ...

    You wrote:
    When I use your example on my IIS with ASPdb Pro
    version 1.1314, I get two <TR>&#39;s at the beginning
    of the table generated by ASPdb ...

    Dear François,

    I am sorry to hear you are having a problem with ASP-db.

    We have not had any other complaints regarding the behavior that
    you described. If you would like to submit an &#34;Incident&#34; we can
    investigate it for you for a charge of $95. If the problem is due
    to a bug in ASP-db, the Incident fee will be waived - AND we will
    send you a FREE UPDATE that fixes the reported problem if at all
    possible. In either case, we would ask that you try to reproduce
    this problem using either Microsoft&#39;s Access Northwind database or
    the SQL Server PUBS database.

    Please submit the source code (asp file) that repoduces this
    problem, along with a description of the steps we will need to go
    through to see the problem that you are reporting. It would also
    be VERY HELPFUL if you could send the SHORTEST, SIMPLEST
    example that demonstrates this problem.

    Thanks.
    Mark.

  6. #6
    Mark Guest

    Format two fields in the same cell using javascript.

    -
    François,

    Format 2 fields with MagicCell? It can&#39;t be done. Someone else just asked
    about this recently. You&#39;d have to write a java script function then call
    it from MagicCell similar to example D63 at:

    http://www.aspdb.com/apps/mh-java-magic.asp

    If you write it, we&#39;ll publish it so others may use it too.

    mark.

    ------------
    François Le Palec at 12/7/99 10:24:12 AM

    Hi Mark,

    MMmmm... Actually, this is not what I need. Here is a simple example of what I want. Imagine I have the following SQL request:

    Mydb.dbSQL = &#34;SELECT Value1, Value2 FROM MyTable&#34;

    But I want to display these two values in the same <table> cell. So I use the following code:

    MyDb.GridDisplayFlds = &#34;0&#34;
    MyDb.dbMagicCell = &#34;Value1,,format=[### ##0.00]<br>#Value2#&#34;

    Ok... So Value1 is formatted. But how can I do to format Value2?

    Thanx for your help.
    François.

    PS: concerning the other problem, I checked everything... and I think this is a bug which has been corrected in the last ASPdb versions... but this application will be hosted by InnerHost and I don&#39;t want to wait for us to update their ASPdb... So I have re-written the table display function in pure ASP.

    ------------
    Mark at 12/7/99 10:07:26 AM

    .
    François,
    Just separate them with semi-colons (. See the Example at:
    http://www.aspdb.com/V2/V2_MAGIC.asp
    -------------------------------------------------------------------
    Now, on the other matter you emailed us about on November 30 ...

    You wrote:
    When I use your example on my IIS with ASPdb Pro
    version 1.1314, I get two <TR>&#39;s at the beginning
    of the table generated by ASPdb ...

    Dear François,

    I am sorry to hear you are having a problem with ASP-db.

    We have not had any other complaints regarding the behavior that
    you described. If you would like to submit an &#34;Incident&#34; we can
    investigate it for you for a charge of $95. If the problem is due
    to a bug in ASP-db, the Incident fee will be waived - AND we will
    send you a FREE UPDATE that fixes the reported problem if at all
    possible. In either case, we would ask that you try to reproduce
    this problem using either Microsoft&#39;s Access Northwind database or
    the SQL Server PUBS database.

    Please submit the source code (asp file) that repoduces this
    problem, along with a description of the steps we will need to go
    through to see the problem that you are reporting. It would also
    be VERY HELPFUL if you could send the SHORTEST, SIMPLEST
    example that demonstrates this problem.

    Thanks.
    Mark.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •