>Yes y9ou can do that. However, you cannot ever open that table if tyhe UDF is not visible to VFP as it will cuase an error that will prevent the table from opening. Also, you must insure that the UDF always returns a value of the same type and length or else the index will become corrupt.
>
>This is one of those things that "can be done" but "shouldn't be done". Like shooting yourself in the head, of course you can shoot yourself, but it isn't a very good idea to do it.
Good qualification - I actually use it...never. The closest I come is using some native vfp function combinations to obtain some tricky sorts...
I thought that you shoot yourself in the foot, not the head, that's getting kind of extreme? <s>
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.