Re: Declaration and reference question
You need to:Declare a variable in the menu of the window typecreate a function in the menu to set the variablecall the function after creating the menu in the right mouse event and be you pop the menu...
View ArticleRe: Declaration and reference question
Hi Panos; A common mistake (especially when you have not had enough coffee ) ... Try: W_My_Window W1 W1 = ParentWindowW1.func_edit() HTHRegards ... Chris
View ArticleRe: RTF datawindow type - database column type
Hi Tom; If your on PB 12.5.x or higher, have a look at the new Table Blob feature. Regards ... Chris
View ArticleDeclaration and reference question
Hi fellow PBuilders! A question with a silly simple example in order to make it a bit clearer I have a window called w_my_window.It contains:a window function called func_edit() a dw_1a right button...
View ArticleRe: RTF datawindow type - database column type
There is a difference between a DataWindow of type RichText and a column of type RichText inside a DataWindow. The RichText DataWindow can be used for things like personalized letters with rich format...
View ArticleRe: RTF datawindow type - database column type
Looking through the documentation I am not seeing the proper way to save the RTF to the database. If I have description as a long binary column and I load in a RTF file created from MS Word it displays...
View ArticleRe: Disable Foreign Characters
That sounds like it might work. I will try it out in a few days. Thanks Roland!
View ArticleRe: RTF datawindow type - database column type
Hi Tom; I would use Long Binary with SAP 17 for RTF data to ensure all special characters & binary datum were captured properly. Regards ... Chris.
View ArticleRe: Most effiecient way to process result sets of stored procedures
Hi Tom; I bet Ricardo's observation is correct. I also bet that you didn't check the return codes on the SetTrans() & Retrieve() methods. Also, you should be using SetTransObject() and not...
View ArticleRe: Source/Version Control moving forwards
Hi Lars; I would also recommend Roland's SCC system. It's not expensive & can store your PB source code in your favourite DBMS. I see that David posted the link to Roland's code. As far as...
View ArticleRe: Source/Version Control moving forwards
Using Subversion now. Used to use PVCS but ran, not walked, away from it. Only issue with Subversion right now is that you need a bridge product (e.g., PushOK) to translate the MSSCCI calls that...
View ArticleRTF datawindow type - database column type
For a RTF datawindow does the database column need to be of type LONG BINARY or LONG VARCHAR I am using ASA 17 database. Looking for about an hour through documentation I never could find this.. It...
View ArticleRe: Source/Version Control moving forwards
is cost a factor? some SCC systems are free for the first 2 or 3 users, others are inexpensive on a per user case. others have all the features and costs a fair bit. will you be doing any remote...
View ArticleRe: Source/Version Control moving forwards
Hi Lars We still use MS Visual Source Safe very effectively. I have also used MS Team Foundation but that was a bit messy t use and did not really fit with PB. Roland has a good little source control...
View ArticleRe: Most effiecient way to process result sets of stored procedures
Include the dw in the resource file for the project, OR Check the "PBD" checkbox in the project's library list. PowerBuilder does not automatically include the dw in the exe when the dataobject is...
View ArticleRe: Most effiecient way to process result sets of stored procedures
Strange issue that I am having. datastore lds_formlabels;lds_formlabels = create datastore;lds_formlabels.dataobject = "d_get_formlabel";lds_formlabels.settrans( SQLCA);lds_formlabels.retrieve(formid);...
View ArticleRe: SySam License Issue
The new version of PB released by Appeon will offer choice to use the cloud licensing mechanism or generate traditional standalone license files. The cloud licensing mechanism is licensing on a per...
View ArticleSource/Version Control moving forwards
Standing at a Crossroads... any recommendations for which source and version control for a small team maintaining an old system. Not concerned with history. Can baseline at any time. Currently...
View ArticleRe: Most effiecient way to process result sets of stored procedures
Hi Tom; DS's do the same Fetch loop as you would probably code yourself. However, the DS's Fetch is written in Assembler - so it's way more efficient. The other key consideration is to use a...
View ArticleRe: Most effiecient way to process result sets of stored procedures
Datastores are more efficient than cursor fetches as the whole result set arrives in one piece. Having said that. If the processing can be done on the whole set, the dbms should do it. On datastores a...
View Article