evesely
12th February 2002, 16:56
I've written DDC function servers for a while. Now, I thought I'd try using the stpapi calls to do something "simple" like add a lot in the Maintain Lots session (BTW, this is IVc2 sch0). This is obviously part of a larger program script.
So, I started created several stpapi.put.field() commands and then used an stpapi.insert(). I found a few things:
[list=1]
The Maintain Lots session opened up on the screen. I didn't think this was supposed to happen, but maybe I was mistaken.
The first few fields were blank and the session was waiting at the Lot field.
When I executed the insert, I received the dreaded "Recursion not yet implemented" error.:eek:
[/list=1]
If I look at the script for Maintain Lots, it is importing several fields if it is being run in the background. So, I set the appropriate zoom variables and ran it again. Items 1 & 3 still happened. Still, it seems like it defeats the purpose of using an API call if I have to look at the script to figure out which variables need to be imported.
So.... I'm sure I am missing something HUGE yet fundamental here. :rolleyes: Any help would be greatly appreciated.
Humbly yours,
-Ed
So, I started created several stpapi.put.field() commands and then used an stpapi.insert(). I found a few things:
[list=1]
The Maintain Lots session opened up on the screen. I didn't think this was supposed to happen, but maybe I was mistaken.
The first few fields were blank and the session was waiting at the Lot field.
When I executed the insert, I received the dreaded "Recursion not yet implemented" error.:eek:
[/list=1]
If I look at the script for Maintain Lots, it is importing several fields if it is being run in the background. So, I set the appropriate zoom variables and ran it again. Items 1 & 3 still happened. Still, it seems like it defeats the purpose of using an API call if I have to look at the script to figure out which variables need to be imported.
So.... I'm sure I am missing something HUGE yet fundamental here. :rolleyes: Any help would be greatly appreciated.
Humbly yours,
-Ed