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

Re: Migrating existing app to a new DB

Hi Carlos;   Have a look at the LibraryDirerctory, LibraryExport & LibraryImport ( ) methods. I have used these to write a PB utility many times that sifts through DWO's and changes their...

View Article


Re: RegistryGet of TMP environment in Windows 7 returns -1

I always use the API functions (maybe faith that they'll be supported more consistently in the future than other methods?). External Function Prototypes:Function ulong GetTempPath (ulong nBufferLength,...

View Article


Re: Client Side Scripting

I'm made sure that the person responsible for the archive knows that it's not responding.  They're working on getting it back online now.

View Article

String function that changes question mark character to an apostrophe

I've just inherited a PB 12 app running against ASE 12.5.3.  I'm looking at one particular window with a datawindow object whose data source is a very simple SELECT statement; nothing unusual about it....

View Article

Re: Client Side Scripting

Thanks Bruce. For guys like Mark doing webform development those archives are an important resource to keep around. BTW they're back up!

View Article


Re: RegistryGet of TMP environment in Windows 7 returns -1

The registry key is restricted in Windows 7. Try either of the methods Terry or Mark posted.

View Article

Re: String function that changes question mark character to an apostrophe

I'm betting the problem isn't so much that the apostrophes are being converted, but that they have been stored using a non-standard apostrophe character, say that from MS-Word, and the datawindow...

View Article

Re: String function that changes question mark character to an apostrophe

I guess it is about a character set settings. Try to explore on it and see what you can find. I haven't used DBArtisan so no clue on where the settings are. Here is a post long time ago similar to your...

View Article


Re: RegistryGet of TMP environment in Windows 7 returns -1

I am working now with Marks contextKeyword solution. Thank you all for your help. I can tell that I can not GetRegistry for anything in HKEY_CURRENT_USER\Environment. Can you tell me where it is...

View Article


Re: Adding a new column to a grid datawindow 12.5.1

Thanks Chris, that's logged. CheersAllan

View Article

Re: idea-place

Bruce, you have hit the nail in the head! PowerBuilder does not exists as far as SAP is concerned. If it's not on the price list then forget it! Guess what? people will forget it!

View Article

Re: Age Old Floating Point Problem

That is my problem - as soon as Round is used with a Double the number does not calculate properly.

View Article

Re: Age Old Floating Point Problem

This still does not result in the correct result (I removed the OT and Dbl since they are Zero but it did not make any difference): Truncate( (ldRegTime * ldRate * ldMultiplier) + .005, 2) = .43 My...

View Article


Re: Age Old Floating Point Problem

Your solution gives wrong results if your starting expression is like '0.045' You can try this approach instead: global function decimal f_round (double adb, long al)     return...

View Article

Re: Age Old Floating Point Problem

Mark, I did the following but the result is still .43: Object.Amt[row] = Round(ldRegTime * ldRate * ldMultiplier, 2) + Round(ldOT * ldRate * .5, 2) + Round(ldDblTime * ldRate * 1, 2) Is this what you...

View Article


Re: Age Old Floating Point Problem

I did try that and it still has the incorrect number.

View Article

Re: Web and mobile application

Christopher Craft wrote: I am in the process of evaluating what we should be doing for making mobile apps that can run across different platforms.  The thought of learning multpile languages to build...

View Article


Re: Web and mobile application

Hi, we created our websolution with pure powerbuilder-classic with a small PHP-Program for Apache and a small JScript-program for Tomcat-Server as connector It's running perfect and we can use the same...

View Article

Re: idea-place

As you may have gathered patience is not my strong point. The fact that I cannot service customer requests that are generated by my marketing expenditure (not yours) is very annoying. I cannot stop the...

View Article

Re: Age Old Floating Point Problem

Yes that is what I meant. I think the way doubles are handled is hurting you. We use decimals. I took your calculation and made the variables decimals instead of doubles and came up with the desired...

View Article
Browsing all 7329 articles
Browse latest View live


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