1. Prasad Neelapala
  2. PowerBuilder
  3. Wednesday, 15 June 2022 08:41 AM UTC

CODE FOR w_dly_pool_sum

SetPointer(HourGlass!)

return retrieve(is_filters_toolbox.l_date, is_UserId, is_NetAddress, is_filters_toolbox.s_mode)

 

i am running the exe within powerbuilder and i got this error in some of the menus in my application like below

 

Error Severity (21)Bad runtime function reference at line 3 in pfc_retrive event of object dw_main of object w_dly_poo_lsum

 

please help me resolve the issue

John Fauss Accepted Answer Pending Moderation
  1. Friday, 17 June 2022 19:14 PM UTC
  2. PowerBuilder
  3. # 1

I'm posting this response in both of your question threads so that all can see...

Because you are new to PowerBuilder, I suggest you consider investing a little time and work through all of the 24 units of the free, on-line PowerBuilder Fundamentals course available at the Appeon-U section of the Appeon Community website:

   https://www.appeon.com/appeon-u/pb

 

Comment
There are no comments made yet.
Prasad Neelapala Accepted Answer Pending Moderation
  1. Friday, 17 June 2022 14:31 PM UTC
  2. PowerBuilder
  3. # 2

Apologies i will send clear explanation next time thanks for the advice

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Friday, 17 June 2022 14:29 PM UTC
  2. PowerBuilder
  3. # 3

1) Show us the code where the error is occurring
2) Show us the error msg
3) Tell us what version of PB you are using AND the platform you are on (i.e Windows 10, 64 bit)

4) Run your code in the debugger with a breakpoint JUST before the failure.
5) When you get to the breakpoint, show us the value of the variable(s) that are failing by finding them in the bottom pane of the Debugger. They may be local, instance, or global variables.

With THAT information, someone MIGHT be able to help you.


And please..... don't post things like "someone respond". No one here works for you. We are all volunteers and posts like that will get you deliberately ignored.

Comment
There are no comments made yet.
Prasad Neelapala Accepted Answer Pending Moderation
  1. Friday, 17 June 2022 08:51 AM UTC
  2. PowerBuilder
  3. # 4

Comment
There are no comments made yet.
Prasad Neelapala Accepted Answer Pending Moderation
  1. Friday, 17 June 2022 07:51 AM UTC
  2. PowerBuilder
  3. # 5

someone respond

 

Comment
  1. Miguel Leeuwe
  2. Friday, 17 June 2022 08:40 AM UTC
You said "i am running the exe within powerbuilder".

Are you running the EXE or are you running from the powerbuilder IDE?
  1. Helpful
  1. Prasad Neelapala
  2. Friday, 17 June 2022 08:50 AM UTC
Powerbuilder IDE
  1. Helpful
There are no comments made yet.
Prasad Neelapala Accepted Answer Pending Moderation
  1. Wednesday, 15 June 2022 14:04 PM UTC
  2. PowerBuilder
  3. # 6
Please let us know how to resolve the issue.
// Profile PRC SQL
SQLCA.DBMS = "SNC SQL Native Client(OLE DB)"
SQLCA.LogPass = <********>
SQLCA.ServerName = "***************"
SQLCA.LogId = "prcmsdev"
SQLCA.AutoCommit = False
SQLCA.DBParm = "Provider='SQLNCLI11',Database='PrcDb'"

[PRCLUATMSSQL1_DS]
;Autocommit defaults to false if no entry here - can be overridden in users registry
;DBMS = "SNC SQL Native Client(OLE DB)"
;DBMS = "OLE Microsoft OLE DB"
;DBMS = "MSOLEDBSQL SQL Server"
DBMS = "ODBC"
LogPass = <********>
ServerName = "tcp:mss-nm-7057-aol.nam.nsroot.net,2431"
LogId = "*******"
AutoCommit = False
;DBParm = "Database='PrcDb',Provider='SQLNCLI11'"
;Name=UATMSSQLL
;AutoCommit=true
;DataBase=PrcDb
;DBMS=SNC
;Driver={ODBC Driver 17 for SQL Server}
;Driver=SQL_NO_PROMPT
;SERVER=mss-nm-7057-aol.nam.nsroot.net,2431
;ServerName=mss-nm-7057-aol.nam.nsroot.net,2431
;QuotedId=No
;TrustServerCertificate=Yes
;Encrypt=Yes
;Trusted_Connection=Yes
;Port=2431
;DBParm=CharSet='iso_1',PWEncrypt = 'Yes'
DBParm="ConnectString='Driver={ODBC Driver 17 for SQL Server};QuotedId=No;TrustServerCertificate=Yes;Encrypt=Yes;UID=*******;PWD=*******;SERVER=mss-nm-7057-aol.nam.nsroot.net,2431;'"
;Lock="RR"


Product: PowerBuilder Category: Database
Version: 2019 R3 Build: 2082
OS:
Windows 10
Platform:
All
Database Type:
Microsoft SQL Server
 
It is an P-CODE 64-bit exe running within powerbuilder IDE.
 
Cause of issue: After running PRCLUATMSSQL in IDE there will be some menus and filters in the application.
I am trying to run one of the filters in exe then this error occurs . I am trying to trace the error but it doesnot show any data where it was casuing it just shows the mentioned error
 
 
Please find sample error screenshot in the attached
 
 
 
Attachments (1)
Comment
  1. Miguel Leeuwe
  2. Friday, 17 June 2022 09:25 AM UTC
Sorry, but that's a completely different error than the one you are initially reporting. You cannot assume that people know all the details of you specific application. Does your datawindow do a retrieve using a stored procedure? etc. This error seems to indicate that the amount of columns retrieved are different than the columns on your datawindow.

regards.

  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 15 June 2022 13:30 PM UTC
  2. PowerBuilder
  3. # 7

Hi Prasad;

  It will be nearly impossible to help you unless you always post the following information with these type of posts...

  • O/S version & build
  • DBMS Server version & build
  • DBMS Client version & build
  • SQLCA settings
  • PB version & build
  • PFC version & build
  • When did this issue start?
  • Is it always reproducible?
  • Does it happen on other PB developers IDE?
  • Does this happen when running from the IDE or an EXE?
  • If an EXE, is it an M-Code or P-Code compile - 32 or 64 bit?

Regards ... Chris

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.