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
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
-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
. 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
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
. 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
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