Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > AFS/DDC/OLE: Function servers

User login

Frontpage Sponsor

Main

Google search


Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
33%
Installation Wizard into new VRC
39%
Manual into existing VRC
6%
Manual into new VRC
22%
Total votes: 49

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 2nd May 2018, 09:52
jojovalenton jojovalenton is offline
Senior Member
 
Join Date: Aug 2007
Posts: 192
jojovalenton is on a distinguished road
Baan: InforLN FP7 - DB: SQL Server 2008 R2 - OS: Window Server 2008 R2
how to use get in afs

hi,

pls help on how to use get in afs variable, system saying it must be call by reference but putting ref in is no allowed outside function. thanks.

stpapi.get.field("whinh5600m000","whinh501.pono",str$(o.pono))

regards,
jojo
Reply With Quote
  #2  
Old 2nd May 2018, 11:22
vahdani's Avatar
vahdani vahdani is online now
Guru
 
Join Date: Aug 2002
Location: Cologne, Germany
Posts: 436
vahdani is on a distinguished road
Baan: all - DB: all - OS: Unix / Win2K
Hi,

you have to do something like the following:
Code:
|Define return field as string!
	string		l.pono$(4)
|What we actually want is this!!
	domain	tcpono	l.pono
	
	...
	stpapi.get.field("whinh5600m000","whinh501.pono", l.pono$)

|Convert the returned string variable to long:
	l.pono = lval(l.pono$)
__________________
May the force be with you!
Reply With Quote
  #3  
Old 3rd May 2018, 08:25
jojovalenton jojovalenton is offline
Senior Member
 
Join Date: Aug 2007
Posts: 192
jojovalenton is on a distinguished road
Baan: InforLN FP7 - DB: SQL Server 2008 R2 - OS: Window Server 2008 R2
hi vahdani,

thanks for reply. i will this on my afs.

regards,
jojo
Reply With Quote
Sponsored Links
Reply


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
AFS waiting timed out (frozen) jp.aalders AFS/DDC/OLE: Function servers 4 20th December 2011 20:48
Steps to create AFS indian_sumesh AFS/DDC/OLE: Function servers 1 6th November 2008 17:32
AFS hangs in stpapi.put.field garias AFS/DDC/OLE: Function servers 1 30th January 2005 22:13
AFS (tfgld1101m000) don´t run fine since a user with a Dynamic menu (DEM) garias AFS/DDC/OLE: Function servers 4 20th January 2004 14:24
AFS : do we need BOI installed to use AFS rohan_rege AFS/DDC/OLE: Function servers 7 17th August 2002 09:54


All times are GMT +2. The time now is 11:30.


©2001-2018 - Baanboard.com - Baanforums.com