>Brian,
>
>Try using a command string:
>
>Dim iTest as Integer
>Dim sCmd As String
>iTest = 10
>sCmd = "Select COL3 * " + iTest + " from Worldmap into play"
>Run Command sCmd
>
>Viel Erfolg
>
>Cheers, 
>Andreas
>.................................................
>Andreas Mahn
>dds GmbH
>Stumpfstr.1 
>76131 Karlsruhe
>Germany
>Tel.: +49 - (0)721 - 9651406
>Fax: +49 - (0)721 - 9651419
>http://www.dds.ptv.de/
>
>.......................
>[EMAIL PROTECTED]
>
>----------
>Von:   BK[SMTP:[EMAIL PROTECTED]]
>Gesendet:      Dienstag, 5. Januar 1999 23:59
>An:    [EMAIL PROTECTED]
>Betreff:       MI Problem with variables in SQL
>
>Greetings All - I am new to the list and would appreciate some help. 
>I have found that when I run an SQL from a program compiled with MB5
>that includes a variable, the column shows no values and cant be
>accessed although the proper total appears in the statistics window. 
>eg
>Dim f_var as float
>f_var = 3
>Select COL3 * f_var from Worldmap into play
>
>However, exactly the same code in the basic window of MapInfo itself
>always works fine.
>Is this a known bug? Any suggestions appreciated.
>Regards
>Brian
>
>[EMAIL PROTECTED]
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>
>
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to