Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Browsing all 7329 articles
Browse latest View live

Re: Datawindow Filter question

"when I try to change a column in the filter buffer" Are you changing data in the primary buffer, and then filtering it out and then doing the update?

View Article


Re: Help me break my Cursor addiction

replace the cursor with a datawindow/datastore.  Retrieve the data into the datawindow/store; then either use another datawindow/store to add the rows, or you can still call the insert.

View Article


Re: Datawindow Filter question

I just did a quick test in the Database Painter. When you view a Table's data contents the Results data area is really using a DW Object. The steps I did ... 1) Retrieve data2) Modify a column in a...

View Article

Re: Datawindow Filter question

Thanks Chris...Need to be more specific..  Change the data in the filter buffer itself not while its in the Primary buffer then applying the filter.  i.e dw.object.columnname.filter[row#] = value I was...

View Article

Re: Help me break my Cursor addiction

Is this the best and quickest way to accomplish this using PB?  Or would using a database driven approach be better?

View Article


Re: SYC vs. ASE database interfaces

Hi Jeff: ASE driver updates over SYC (AFAIK): 1) Yes, larger entity names - but, actually now up to 256 characters. 2)  BIGTIME: Includes the hour, minute, second, and fraction of a second. The...

View Article

Re: Help me break my Cursor addiction

Why are you bringing all that data back to the client in the first place?  I would write that as a stored procedure and do it ALL on the server...  The only thing you need to return from that is maybe...

View Article

Re: Datawindow Filter question

Hi David;    That could be the variation ... updating the row in the Filter buffer - which I never do.    My suggestion would be to retrieve the result set into a DataStore and then perform a ShareData...

View Article


Re: Datawindow Filter question

Is the column selected as "Updateable" in Rows > Update Properties?   PB doesn't bother with update flags unless the column is listed as updateable. -Paul-

View Article


Re: Help me break my Cursor addiction

Sure, but you save all the work of marshalling the result set, putting it on the wire, transmitting it to the client, having the client reserve memory space to store it, and so on...  And then...

View Article

Re: Help me break my Cursor addiction

I would code the stored procedure to select the data into a temp table. Then cursor through the temp table and do the insert/updates within that loop.

View Article

Re: Help me break my Cursor addiction

A cursor is essentially a temp table.  Why pull all that data into a temp table, only to open a cursor (another temp table) right on top of it? That approach would double the amount of memory that the...

View Article

Re: OLE Automation for Acrobat Reader

Hi. Try this change in the "menu items" section: lb = luo_app.menuitemexecute('Edit')lb = luo_app.menuitemexecute('SelectAll')lb = luo_app.menuitemexecute('Edit')lb =...

View Article


Re: Help me break my Cursor addiction

In Oracle I would use a BULK COLLECT to get the data into an array. No need for slow cursor processing.

View Article

Image may be NSFW.
Clik here to view.

Re: Help me break my Cursor addiction

Ugh.  Oracle.  I feel a "bulk collect" about to release itself right now...  

View Article


Re: OLE Automation for Acrobat Reader

It isn't really clear what you want. Do you want to grab the text from a PDF and store the text in the database?

View Article

Re: SYC vs. ASE database interfaces

Interesting issue, David, thanks for responding.   According to the help file (search "disablebind"):      Default     DisableBind=1 for ADO.NET, ASE, SYC, SNC, and OLE DB, DisableBind=0 for other...

View Article


Re: Help me break my Cursor addiction

You should use pipelined table functions, it helps relieved that bulk collection feeling.

View Article

Re: Help me break my Cursor addiction

I would recommend a private snow cone instance to address any array irritation and discomfort once the bulk collection relief is complete.

View Article

Re: PB 12.6 - Oracle DB Profile does not save Password

Hello Sandra, This is a known problem with a specific version of PB 12.6:Read this thread for more details: http://scn.sap.com/thread/3622189 HTHJacob

View Article
Browsing all 7329 articles
Browse latest View live