Scottdg
Scottdg

Reputation: 113

Powerbuilder 8 code

We have an application built in PowerBuilder 8. I have ZERO experience with PowerBuilder 8 and limited programming experience in general. One of the functions of the application is to take a filename (.txt) that you enter, look for it in a directory and then process that file adding it to our SQL database. I found a job in SQL which is what I believe is being executed by the PowerBuilder program but I am having a tough time navigating PowerBuilder to find the code that confirms that.

Any suggestions?

Thanks, Scott

Upvotes: 0

Views: 340

Answers (2)

Matt Balent
Matt Balent

Reputation: 2397

From the 'File' menu choose 'Open Workspace' - then navigate to the folder where your code is. PB will filter out other stuff and only show you Workspace items (file extension of 'PBW').

Open the workspace.

Locate the library painter in the IDE of PowerBuilder - it should appear as a treeview control. Click on the treeview node of the above Workspace. There should be at least one 'Target' node below the workspace.

Right click on the Target and choose 'Search'. Search for ".txt". This will show all the places in your application where the string ".txt" is used. This should at least get you to the place where the code you seek is - assuming like in your OP the files have the extension of ".txt".

Upvotes: 0

Chris Moyer
Chris Moyer

Reputation: 11

perhaps I can share. You say you have a PB app. To search thru the app, you need the .PBL files. If you only have PBD's much more difficult and requires additional software.

I am going to assume you have the actual PB 8 Powerbuilder software. The. Workspace and target are defined and you can see a library list. Look for systree on the toolbar

Since you are new, this may seem like a lot of information but you would need this to be able to search the application.

If PBL's are available and other defined as mentioned above search on IFEXISTS. That may help you determine if the functionality is there.

Have a good day and best of luck.

Upvotes: 1

Related Questions