UDF compatibility V 8.1 to V 10

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Nick
Posts: 103
Joined: Tue Oct 10, 2017 12:44 pm

UDF compatibility V 8.1 to V 10

Post by Nick » Tue Jan 06, 2004 6:35 pm

I have a number of reports that contain the Pageno() function wrapped in a udf. These reports are distributed with a vertical application that is currently using the V8.1 runtimes with no problem.____I am attempting to distribute the V 10+ runtime to take advantage of the HTML export, however none of the reports execute and I get a message that I must edit the calculated field in the UDF.____Is there some type of conversion that can be done, or do all 100 reports need to be edited in order to be compatibile with V10.?

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: UDF compatibility V 8.1 to V 10

Post by kfleming » Wed Jan 07, 2004 5:22 pm

Try opening one of these reports in the V10 designer and see if it behaves and if the UDF shows in the UDF list.__If yes, then make sure that the UDF file is in indeed in the runtime directory.__If no, add that UDF.____Kathleen__R&R Support

Nick
Posts: 103
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: UDF compatibility V 8.1 to V 10

Post by Nick » Sun Jan 11, 2004 9:46 pm

When I open the report in the 10+ Report Designer I get the exact same problem. The message tells me I must edit the field.____When I go to User Functions, it is blank, as if it is not finding the udf file, yet that file is in the database directory.

Nick
Posts: 103
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: UDF compatibility V 8.1 to V 10

Post by Nick » Sun Jan 11, 2004 9:55 pm

After posting the previous message, I tried renaming the rr.udf file in the R and R folder and copying the udf that I have distributed with the app into the R&R folder. That seems to have corrected the problem with the Report Designer not be able to open the report.____Is it possible that the Version 8.1 and 10+ runtimes handle the search path for rr.udf differently? That seems to be the only explanation for what I have encountered.____If so, it would be helpful if you could explain how R&R handles it in each version.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

====> RE: UDF compatibility V 8.1 to V 10

Post by kfleming » Mon Jan 12, 2004 8:41 am

In both versions, R&R will find the UDF file in the R&R program directory (where the designer/runtime exe lives) or if a link directory has been set (so that the LIC file and UDF file can be in a different directory than the EXE) then the UDF will be located in the link directory.__So the rules should be the same in both.____Kathleen__R&R Support

Nick
Posts: 103
Joined: Tue Oct 10, 2017 12:44 pm

=====> RE: UDF compatibility V 8.1 to V 10

Post by Nick » Tue Jan 13, 2004 12:18 am

>In both versions, R&R will find the UDF file in the R&R __>program directory (where the designer/runtime exe lives)____What if both and R&R directory and an application directory with the rrwrun.exe file exist on the same machine. This is where 8.1 and 10 seems to behave differently.____ or __>if a link directory has been set (so that the LIC file and __>UDF file can be in a different directory than the EXE) then __>the UDF will be located in the link directory. ____I don^t exactly follow what you mean by the link directory and the LIC file. Right now, we have a folder under our application in Program Files for all of the Rand R files, runtime, udfs, rrw^s and the dbf free tables they read. ____

Post Reply