JRussell
8th November 2002, 13:13
Hi

Just q quickie. Can you use the function double.cmp(...) in a before.rewrite section of the main.table.io section?

I'm getting an error saying:

Fatal Error; Function within function "before.rewrite" not expected

thanks for any help offered

ulrich.fuchs
8th November 2002, 13:21
Post your code here. Normally it should work - the bug seems to be somewhere else!

~Vamsi
8th November 2002, 20:38
The main.table.io: section seems to be in the wrong place. Been a long time since I have coded in Baan IV or even a table without DAL - main.table.io should be before functions: and not after?

baanprog
13th November 2002, 23:56
"Function within function error comes" when u miss to have a main section like the above user pointed out.

Proper syntax is

main.table.io:
before.rewrite:


Though its a normal practice to have main.table.io sections above functions section , it is not a necessary condition, its just the way BaaN scripts are written.

Thanks