Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


Does BaanBoard need a new forum entry for Questions related to Extensions / ION Interfacing: BOD and BDE?
Why Bother, nobody reads here ...
Just drop all the questions in the Tools Development forum
Extensions are a different ball-game: they need a new forum entry
ION Interfacing - BOD and BDE is a different ball-game: they need a new forum entry
Just create two different forums and see what will happen...
What are you talking about? Something new? Leave things as they are!
Total votes: 15

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 4th October 2021, 16:05
LordMrT LordMrT is offline
Join Date: Nov 2020
Posts: 30
LordMrT is on a distinguished road
Baan: 10.7 - DB: Oracle - OS: InforLN 10.7
Old session "select.file" error
Baan: Infor ERP 10.7
C/S: Client

Hello all,

I found an old session for file handling in Infor LN 10.7. Now I wanted to check this and copy it to the current VRC. During compilation the following error occurs:
pneadm99900( 440): Error: Unresolved reference to function 'select.file'.
function domain tcmcs.str256m get.server.file()
	domain tgfile my.path
		long i, j
		string selected(256,2)
		long no.of.selected
		long max.selected

	my.path = getcwd()
| my.path = "" |* for default of $HOME path take this
	no.of.selected = 1

	select.file( my.path,
Was there a change in the function here? I had not found anything on the first try.

Thanks a lot :-)
Reply With Quote
Old 4th October 2021, 17:11
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,639
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
If it was 4c4 I would be checking to make sure any includes or libraries attached to the script also copied into the new VRC first. I am not sure if that is an LN library or not.

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote
Sponsored Links
Old 5th October 2021, 10:08
andreas.toepper andreas.toepper is offline
Senior Member
Join Date: Jun 2004
Posts: 240
andreas.toepper is on a distinguished road
Baan: Baan4, LN6.1 - DB: MSSQL - OS: Linux&Windows
I think it may be explained here:

But I think I would check the available FileManager functions in LN instead and change the code.

function long FileManager.selectFile ( [string i.root.path], string i.start.path, string i.mime.filter, ref string o.file)


This shows the File Manager workbench running in file selection mode to allow a user to select a file on the server.

[string i.root.path] when specified, the root directory for the File Manager workbench. A user can navigate to child directories but not to the parent of the root directory. Also, the start directory, i.start.path, must be located within the root directory otherwise the error message "Directory X is not a directory within Y" where X is the i.start.path and Y is the i.root.path.

string i.start.path The startup directory for the File Manager workbench. If i.start.path specifies a file instead of a directory, the directory part of i.start.path is used as startup directory. Note that if i.root.path is not specified or is empty, this startup directory becomes the root directory of the File Manager workbench. In case of an empty string the startup directory will be the directory where the Baan Software Environment is installed (see bse.dir$).

string i.mime.filter The list of mime types, separated by commas, of the files shown by the File Manager. If the list is an empty string all files are shown.

ref string o.file Output argument which will contain the full path of the file selected by the user.

Return values
1 The user has selected a file.
0 The user has cancelled.
-1 Error occurred

This function is implemented in the 4GL Tools and can be used in all script types. This function is available from TIV level 2200.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fatal error 512 in insert on session personalizations gruvi_navy Blogs and Web links 1 16th March 2017 12:34
Process Error in Maintain session. vktonk Tools Development 2 1st July 2008 12:07
error message with session tipcs5250m000 das_k_tushar Manufacturing & Supply Chain 1 3rd January 2005 22:11
OW: Error while first logging into OpenWorld just after installation Alaadin Bayar Open World, Portal & Decision Manager 0 19th December 2004 23:40
session script compile error ?!? dogueke Tools Development 4 7th July 2003 20:26

All times are GMT +2. The time now is 14:02.

©2001-2021 - -