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

Re: Powerbuilder 7 crash when data window size is smaller than actual data in DB

Later versions handled this differently.  Some truncated the extra data.  Some cancelled the retrieve (without indicating there was a problem) at the record with the issue. If you did a substring on...

View Article


Re: How to auto reconnect to database after network disconnect?

Are you re-performing the SetTransObject after the reconnect?  You have to, because what that does under the covers is points the datawindow at the memory location the connection was at.  When you...

View Article


Re: Handling Connection Time Out

Yes, that's still the best practice (issuing a SQL statement).  The database will look open to PowerBuilder until an actual SQL statement is attempted.

View Article

Re: Migration Powerbuilder 12.6 to .Net error

Not with that little information.  Was there a migration log?  Something in the output console?

View Article

Image may be NSFW.
Clik here to view.

Re: Powerbuilder 7 crash when data window size is smaller than actual data in DB

Hi Bruce,Thanks for your explain and "Column Width Checker". We'll try it asap. Thank you so much. Great day! Jeehye

View Article


Image may be NSFW.
Clik here to view.

Error calling external object function intialize

Hi all, In our application we are using CaseDocs.DocCasesCtl control. We are recieving "Error calling external object function intialize" when the below line of code is being...

View Article

Re: Error calling external object function intialize

How did you register your OCX? using regvr32 from c:\windows\system32 ?Is your Windows 7 a 64-bit machine?If yes, can you try to re-register your OCX control (32-bit?) using regsvr32 from correct...

View Article

Re: how to enable dragdrop for listbox?

Easy ... 1) Use the DragDrop Event 2) Add code to see what was dropped ...For example - save DDLB's TAG in the dropped objects TEXT property  CHOOSE case source.Typeof ( )    case DropDownListBox!...

View Article


Re: how to delete datawindow row by loop?

HI Kent;   Suggestion: Try it in reverse .... Long     ll_maxll_max     =     dw_1.RowCount() For i = ll_max to 1 STEP  -1 ....   if expression then      dw_1.DeleteRow(i)  end ifNext   HTHRegards ......

View Article


Re: how to delete datawindow row by loop?

If you don't need to delete the records in a specific order, try this: ll_Row = dw_1.RowCount() FOR i = ll_Row TO 1 STEP -1....   IF expression THEN    dw_1.DeleteRow(i)  END IF NEXT HTH, Manuel Marte

View Article

Re: how to delete datawindow row by loop?

To iterate from the last to the first row will do the trick: long i For i = dw_1.RowCount() To1Step -1   ...   If ( expression ) Then      dw_1.DeleteRow ( i )   EndIfNext hth Arnd

View Article

Image may be NSFW.
Clik here to view.

Re: Transparency in PB12.1 Classic

Hi Alexander, I could reproduce this issue using PowerBuilder 12.5.1. Looks like a bug

View Article

Re: Transparency in PB12.1 Classic

That's what I was afraid of. At least I am not alone. How do I let Powerbuilder folks know about this?

View Article


Re: Transparency in PB12.1 Classic

I think the best is to prepare a small example (zip'ed pbl) with the window and the datawindows and upload it here.Eventually one of the SAP associates can take a look at the example and forward this...

View Article

Alternatives to Replace a COM Component

Hi, I've got an application written in PB 10.5 using the Kodigo framework.  I would like to migrate it to the latest version of PB, but part of the project includes a COM component which I can't...

View Article


Re: how to find out row in delete buffer for dw?

Hi Chris, hi Kent, there is a buffer option on the find () method since PB 12.1.But it is only documented as new feature. The documentation of the find() function was not updated.see SyBooks Online...

View Article

grid datawindow problem

hi all , I am working with a grid datawindow   , presenting  rows.   1. if its width is too large ( over then a A4 paper width ), saving it into PDF , saves it like portrait mode and not landscape ( I...

View Article


Re: Export objects from a target (multiple libraries)

Try PBL Peeper. It has an Export function that will dump everything except OLE binaries. You could have an entire subtree or a whole disk of PBLs exported with a few mouse clicks.

View Article

Re: pb 12.6 cant access to the workspace properties

Hi Abdallah, Thank you so much, that was the solution. Regards, Jimmy Pérez

View Article

Re: DatawindowChild issue

That's it. But this logic shouldn't be executed while the user is typing the option or just scrolling each row with the up and down arrows.That would be done  just when he finally decides and clicks it...

View Article
Browsing all 7329 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>