Is there a way to determine the date my PowerBuilder application was last compiled?
I would like to be able to determine, from within a PB application (using PB
10.5), if the application has been deployed since the last time a user ran
it. In other words, is there a way to programmatically determine the date
and or timestamp of the last compile?
Add this instance variable to an object:
DateTime idt_compiled = DateTime(Today(), Now())
The compiled version of the object in the library will contain the datetime
the object was compiled.
"Libby Engelbret" <email@example.com> wrote in message
>I would...powerbuilder 10 build 8075 datawindow dddw bug.
If the datawindow column type is money and has dddw, I get error message
"Expression is invalid".
If I replace dot with comma in regional settings, I can solve the problem.
I am using Turkish Charset.
We also get the same error message when we apply a filter that has a dash
'-' in the expression (using setFilter()). We went back to 8050.
"Murat Yelkovan" <firstname.lastname@example.org> wrote in message
> If the datawindow column type is money and has dddw, I get error message
> "Expressi...Error 39: : Is there a way to determine if a row and column exists on a datawindow?
We are having an issue whereby, we are receiving a run-time error 39(error
accessing external object property). Unfortunately, it is somewhat erratic
and not very re-producible. It seems to be only happening with one of our
customers. Although, I have seen it once or twice on my development machine.
Therefore, I do not suspect environment. But I really don't know.
We have some defensive code that logically seems like it should work. This
if li_RetVal = 1 and dataobject = 'd_cashreg_bot' and ll_row > 0 and
RowCount() > 0 then
ldec_p...Any way to get the parent of a child datawindow in a composite datawindow?
Using PB 8.0.3 9704 on Win2K.
I have a DataWindowChild that came from a GetChild() call for a composite
datawindow. At runtime, I don't "know" what composite datawindow is the
parent of the child datawindow.
Any ideas on how to get this information?
I tried DataWindowChild.GetParent(). Compiles fine and "Help" says this
should work, but all I get is a null object reference.
Thanks in advance...
Is this a problem with a poorly designed function signature?
Succesfull GetChild call could ONLY have been done with having a reference
to the datawindow...DataWindow This, DataWindow That...
Blah blah blah
You've heard it enough that you don't even want to comment on how many
....but it can't be enough anymore...can it?
This from one of our colleagues
(and yes my apologies for taking it out of context)...
"...PB covers all you need to do that in ONE Tool. This
includes Windowprogramming ( meaning the interface to the user:
Windows, Sheets, diallougeboxes, etc.), Database operability AND
Reporting! Well, I see als well as many other PB users that some of
the implementations and features PB offers are improvable. But thi...Powerbuilder Datawindow
Can you do a Datawindow in VS 2005 without using
Datawindow.NET just by using common controls i.e DataGrid
What would you use the DataWindow for then? To retieve the datawindow
into a datastore and then attempt to use it to populate the DataGrid?
I've heard of people who want to have their cake and eat it too, but
it sounds like you want no cake but you want to eat it...
On 20 Feb 2007 23:42:31 -0800, Chris Ceniza wrote:
>Can you do a Datawindow in VS 2005 without using
>Datawindow.NET just by using common control...Powerbuilder datawindow
I'm importing a some data into my application. The way I do this is to
insert a the rows into a datawindow and then do an update() on the
If a row in the database allready exists with the same primary key as I have
inserted into the datawindow, what will happen then? Will then datawindow do
an update or will I get an error?
I'm doing this on a datastore object. How can I get an errormessage from the
datastore? I have tried the errormessages and codes from the transaction
object (sqlca.sqlerrtext and sqlca.sqlcode).
> If a row in the...datawindow with DDDW
I'm working with a datawindow, I made one Drop Down DataWindow in it,
but I want to refresh it depending on a value inside a field in the
Does someone have tips how to do this ?
Mansystems Nederland B.V.
Give your dddw a retrieval argument, get the child datawindow (the actual
dddw) with the GetChild() method. Then retrieve the child datawindow with an
AQEURO DLM Netherlands
Sander Visser <email@example.com> wrote in message
&...Focusing DDDW in the datawindow
I have a dddw in a datawindow with a list of types. On the
save button clicked event for my window I validate that
something has been selected. If nothing has been entered I
display a warning message and then attempt to set the focus
to the dddw. I have tried setcolumn, setitem, and finally
after going the the user group notes tried a yeild()
function. None of this is working the way I would like it.
The Save button does not release focus. Below is my code at
the current state
Messagebox("Validation Error",&q...Determining validity of a datawindow
I have an application where users can dynamically speciffy their own
datawindows for a report. These datawindows have been compiled into a
library dll which is added to the library path at runtime. In my code I
assign the datawindow they selected to the datawindow using
The problem is I have not found a reliable way to determine whether I have
been given a valid datawindow name! I have tried looking at the
datawindow SQL and checking that the first word is 'SELECT' or 'EXECUTE'
but there must be a better way than this...PowerBuilder Datawindow Bug
I just wanted to follow up with the work-arround I did on a PowerBuilder
22.214.171.12404 and SQL Server 2000 (latest patch) bug. The bug lies in the MSS
Basically PowerBuilder truncates any string comprosed entirely of spaces to
the empty string as it retrieves from the database to the datawindow.
The solution for me was to wrap any candidate column with this scenario with
a non-blank string (I used the string '##'), and then after datawindow
retrieve, loop through datawindow, and remove the string from each side of
the queried columns. Tons of overh...PowerBuilder down on opening a datawindow.
I'm using PowerBuilder 9.0.1 on Windows XP and Oracle9i.
Suddenly I cannot open any datawindow.
Each time I tried to open datawindow with datawindow
PowerBulider gets down.
Someone told me that changing default printer might help.
But it didn't help.
Please help me.
First make a backup of the datawindow to another .pbl (you may even want to
create a new .pbl just to hold the backup).
1) Try regenerating just the datawindow.
2) Try optimizing your .pbls then a full regeneration (back up all the .pbls
first, again just as a ...