Hello to all PB wizards!
I work with MySQL Database thru MyODBC. Here is the trouble that always occurs while I design the new Datawindow. After selecting a table in the "SQL Select Mode" such a message pops up:
root.pbcattbl does not exists
Datawindow creates without problems, but there are...
Hello!
I know my question is a newbie's question, but I really feel get lost. My menu is visible, but I can't see the tool buttons. The are visible at design form, and all checkboxes that can affect the visibility I checked on.
What is my mistake?
Thank you!!!
Hello PB Wizards!
I made a user object - tabpage. (inherited from ub_tabpg).
The problem is: i need to access the window, on which consists this tabpage.
I know that i can create an instance variable Window into my tabpage an set its reference from the window itself... but is it possible to...
You mean that you click on the lower-tab called "Syntax" which shows you a grey read-only statement?
This is't a bug. Use menu Design-Convert To Syntax to edit the query manually.
I need to initialize some objects on my window.
Which event can I use? This event must be called once after (or during) creating window. (Like OnCreate in Delphi).
Thanks!
Thank you!
Please make me a tip: what do you mean "invokes"? For now i made a function Init with window argument, which must be called from the window manually.
It's pretty bad.
Is it possible to catch the window reference in the userobject itself?
I believe you understood me. Sorry for my...
Hello PowerBuilder wizards!
I made a Custom-Visual userobject (with three buttons: OK,Cancel,Apply).
How can I reference the host window from the Cancel button to close it?
Thanks!
Hello all PowerBuilder wizards!
I use such code to create datawindow:
datawindow NewDw
long Code
NewDw = create datawindow
NewDw.DataObject = 'main_datawindow'
Code = NewDw.SetTransObject(SQLCA)
MessageBox('code', string(code))
It returns -1, so SetTransObject fails. However, I tried to...
Hello all PowerBuilder wizards!
I need an advise on designing dw. I'm just beginner, and these design tools are to huge to understand their abilities quick :-)
I have a table with columns ID and Value. Looks like this:
1 10.11
1 11.05
1 09.15
2 16.13
2 15.98
2 16.25
e.t.c.
My...
Hello friends!
I'm trying to study stored procedures. So I've got such function:
(code entered in Sybase Central, function created successfully)
CREATE FUNCTION "DBA"."TestF"( /* parameters,... */ )
RETURNS integer
BEGIN
DECLARE res integer;
SET res = 14;
RETURN...
Hello friends!
I need to recreate some of the ordinary functions in my application like a Stored Procedures in database Server Anywhere.
I thought that stored procedures are the SQL code. Is it possible to use standart powerbuilder code in them? Please give me some link or small example of...
Hello friends!
Please give me an advice: how to limit the size of the window while user resizes it. For example, I have some:
integer MinWidth = ..
integer MinHeigth = ..
Tried to use Resize method in Resize event, but it works strange, and looks like bad solution.
Thank you!
Hello friends!
I made some retrieval arguments in my datawindow, and now PowerBuilder asks me to enter their values each time i change something in the datawindow. But I don't need them at design time! And this request is very annoying. How to turn this feature off?
Thank you!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.