on 2009 Jul 03 11:16 AM
Hello Experts,
I use a simple FMS to get some info from BP (UDF). Target is another UDF on document. The FMS is:
select userfield from OCRD where cardcode=$[$4.0.0]
The FMS sometimes does not work. I checked it by running the FMS from menü, cursor in the UDF, and I saw that the system has replaced the
$[$4.0.0]
with RSRCButtonCloseBox. The is no such cardcode, and so the FMS does not gie any result. And there is no error.
Any idea ? Thanks
Edited by: Andreas Schlingmann on Jul 3, 2009 12:17 PM
Edited by: Andreas Schlingmann on Jul 3, 2009 12:19 PM
Edited by: Andreas Schlingmann on Jul 3, 2009 12:19 PM
Request clarification before answering.
Hi,
When you are working with UDF for FMS You Should use like $[$-4.0.0]
Thanks and Regards,
NIvasini VM
Team Work Never Fails
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You may not run the FMS query in the query manager. If you run it this way, it indeeds replace the $ variable to something weird most of the time if the query did not get error message. FMS query is used for Formated Search only. You would be better to change your query as:
select T0.userfield from dbo.OCRD T0 where T0.cardcode=$[$4.0.0\]
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
15 | |
9 | |
7 | |
5 | |
4 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.