RE: MI-L mapbasic Update table with custom function

2004-04-27 Thread Cummings, Mike
says that you can use custom functions in Select statements. Has anyone had any luck? -Original Message- From: B. Thoen [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 5:07 PM To: Jacques Paris Cc: Cummings, Mike; Mapinfo-L Subject: RE: MI-L mapbasic Update table with custom

RE: MI-L mapbasic Update table with custom function

2004-04-27 Thread Lawley, Russell S
Mike, I have used functions in the past for doing this kind of update, but i always called the column by its column number see the code below tis v fast and handy, but you have to watch some updates because they all occurr concurrently, so in the example below, i also update column3, but it

RE: MI-L mapbasic Update table with custom function

2004-04-27 Thread Peter Horsbøll Møller
-mail [EMAIL PROTECTED] http://www.cowi.dk http://www.cowi.dk/ From: Cummings, Mike [mailto:[EMAIL PROTECTED] Sent: Tue 27-Apr-04 18:17 To: B. Thoen; Jacques Paris Cc: Mapinfo-L Subject: RE: MI-L mapbasic Update table with custom function OK, what's the trick

Re: MI-L mapbasic Update table with custom function

2004-04-27 Thread Bill Thoen
. Thoen [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 5:07 PM To: Jacques Paris Cc: Cummings, Mike; Mapinfo-L Subject: RE: MI-L mapbasic Update table with custom function No, that's not the case. In MapBasic, you can use custom functions in 'update' statements. In fact

RE: MI-L mapbasic Update table with custom function

2004-04-27 Thread Warren Vick, Europa Technologies Ltd.
Hello Mike, I see that several people have made suggestions about this one. Here are my thoughts: 1) You can indeed use a custom function in an UPDATE statement, but not sub(s). This method can only be used in a MB program and not on the MB window command line. 2) Remember that you pass back a

RE: MI-L mapbasic Update table with custom function

2004-04-27 Thread Cummings, Mike
. Has anyone had any luck? -Original Message- From: B. Thoen [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 5:07 PM To: Jacques Paris Cc: Cummings, Mike; Mapinfo-L Subject: RE: MI-L mapbasic Update table with custom function No, that's not the case. In MapBasic, you can use

RE: MI-L mapbasic Update table with custom function

2004-04-26 Thread Jacques Paris
My interpretation is that the expression used to update a column must be written with the MapBasic vocabulary. I deduce that from the fact that update as many other functions can be run from the MapBasic window that does not support any external calls, i.e. calls to custom functions that are not