Questions tagged [powerbuilder-pfc]

The PowerBuilder Foundation Class Library (PFC) is a set of PowerBuilder objects that are customized and used to develop class libraries. These objects can be used to provide corporate, departmental, or application consistency.

The PowerBuilder Foundation Class Library (PFC) is a set of PowerBuilder objects that are customized and used to develop class libraries. These objects can be used to provide corporate, departmental, or application consistency. PFC also includes objects that are used as is for utility purposes, such as debugging. PFC is written in PowerBuilder and delivered as PowerBuilder objects with supporting PowerScript source code. It uses advanced PowerBuilder object oriented coding techniques, and features a service-oriented design that ensures that an application uses the minimum amount of computer resources.

40 questions
2
votes
1 answer

PowerBuilder window size

I'm having problem with the layout of a window after converting the application to web form. The window contains a datawindow. When I open the window in the internet explorer, initially the layout is ok, but as soon as I click on any control the…
asam
  • 53
  • 1
  • 4
2
votes
1 answer

Powerbuilder: what to code in the pfc_retrieve() event when using FILTER style linkage

I have two master-detail datawindow which are linked through pfc's linkage service. Now I have read in the documentation that when using FILTER style retrieval code must be placed inside the detail window's pfc_retrieve event. What code/function…
MD Sayem Ahmed
  • 28,628
  • 27
  • 111
  • 178
2
votes
1 answer

How to replace data format from Pipe Delimited to Tab Delimited?

Good day. Below is a Powerbuilder script that check the file encoding and get the data from the file. Once the data is assign to a string variable(ls_encoding) it will be passed to the object function, of_TabDelimited() (script of this function was…
RedHat
  • 205
  • 2
  • 12
  • 24
2
votes
1 answer

Can't sort correctly headers with _t in powerbuilder 10.5

I have a grid datawindow with some headers and columns in Powerbuilder 10.5. Using the pfc all my headers have identical names as the columns and end with _t as indicated. At runtime when I click on some headers the rows are not sorted correctly.…
Alex
  • 207
  • 1
  • 2
  • 15
1
vote
2 answers

Powerbuilder: is it a good idea to call accepttext method

The question says it all. I want to know if it a good idea to manually call the accepttext() or pfc_accepttext to force powerbuilder to accept the values in the datawindow fields. The reason behind this question is that I have a datawindow in a…
MD Sayem Ahmed
  • 28,628
  • 27
  • 111
  • 178
1
vote
3 answers

Powerbuilder PFC : Where to start learning

Ok, I am an absolute beginner in powerbuilder. Currently I am working in a company where powerbuilder is being used to develop an application. This application heavily uses PFC. Now I had no prior powerbuilder training when I joined this company,…
MD Sayem Ahmed
  • 28,628
  • 27
  • 111
  • 178
1
vote
2 answers

Is there any powerbuilder function which is equivalent to PHP's "explode" function

I think the title itself is pretty self-explanatory. Is there any function in powerbuilder which is equivalent to PHP's "explode" function? For PHP's "explode", see the following link : PHP explode
MD Sayem Ahmed
  • 28,628
  • 27
  • 111
  • 178
1
vote
2 answers

Migrating from Powerbuilder 6.5 to 10.5

We have an application that is built using PFC. I am facing a strange problem. When I define a workspace and open only the PFC librares, I can migrate and do a full Build. However, when I include this in my application library, it will not build,…
N Desai
  • 11
  • 2
1
vote
1 answer

powerbuilder: pfc_save problem

I have a user object which is using pfc services. Now, during update, I have written my validation code in the pfc_validation() function, and when validation does not succeed, I am returning -3 from that function. But still I am getting an error…
MD Sayem Ahmed
  • 28,628
  • 27
  • 111
  • 178
1
vote
1 answer

pfc_Validation event coding example

Could you give me an example of the way I should code into the pfc_Validation event? This is an event that I have never used. For example here is something I have coded in the ue_itemchanged event. if dwo.name = 'theme' then …
Brani
  • 6,454
  • 15
  • 46
  • 49
1
vote
2 answers

Powerbuilder 12.5 - Functions on DataWindows not triggering

I have an application in PowerBuilder 12.5.1, with a read-only grid datawindow, part of a master-detail (PFC linkage service). I would like to highlight some fields that contain certain strings. To do that, I made a global function…
carlo.borreo
  • 1,344
  • 2
  • 18
  • 35
0
votes
0 answers

PowerBuilder 2019 R3 - Is it the filter method which caused the application to crash?

Our windows application was developed in PowerBuilder 8 and it has been migrated to PowerBuilder 2019 R3. The PB 8 build application is not crashing for a very long time and the filter method is working properly. When it was migrated to PB2019 R3…
RedHat
  • 205
  • 2
  • 12
  • 24
0
votes
2 answers

Web Browser control not working for installed application using PowerBuilder 2021

In my powerbuilder 2021 devolvement environment the web control works fine and it navigates to the desired URLs Correctly. when I release complied version of my application to the user this web browser control does not work. sometimes it displays…
manaz
  • 11
  • 1
0
votes
3 answers

PowerBuilder application login

I am using PowerBuilder PFC library to login to the database. n_cst_appmanager/ pfc_open: IF this.of_LogonDlg() > 0 THEN Open(w_myapp_frame) END IF n_cst_appmanager/ pfc_logon: SQLCA.DBMS = "ODBC" SQLCA.AutoCommit = False SQLCA.DBParm =…
asam
  • 3
  • 1
  • 2
0
votes
1 answer

Connect to new object returns -3 in powerbuilder

I am working on project where i am connecting dot net dll in powerbuilder . In dll project at dot net i am referencing two more dlls . My project dll is made COM type and it has been registered successfully using regasm.exe "mydll.dll" in dot net…
1
2 3