datawindow.column.count not returning the column count of a datawindow
I am having problems with the datawindow.column.count property of a
datawindow. It just started happening with PB 6.501 and still works
fine in PB 5.0. The function that looks at this property is in an
ancestor userobject. The dataobject is assigned at this point but all
other properties of the datawindow are missing. Any suggestions?
Don't recall, but was it still dwDescribe() in version 5.0? If it was that
may be your problem.
Kent Montgomery wrote:
> I am having problems with the datawindow.column.count property of a
> datawindow. It just started happenin...datawindow column headers disappearing
I have 6.5 and after making columns in the datawindow visable and then
invisable a few times the header of a few columns disappear. Does anyone
know a fix??
We sometimes get problems like this when the system is getting low on GDI's
or memory. It is almost always after entering / exiting the system several
times or running the debugger. More so when I run the program from the IDE
than the app's EXE.
Its not elegant but try shutting everything down and re-starting the app
things should be back to normal. If they aren't there are several good
memory monitor programs ava...How I can get the column header name when i clicked on the concerned column header
I had a problem in getting the columnheader name . I had tried with
dw.getcolumnname but not successfull .
I was in very big dilema where to write the code(i mean what 'event') .
Suppose i had a fullname as my columnheader then i should able to get the
fullname when i click on that column.
You will want to code this in the clicked event.
You can look at GetBandatPointer() and GetObjectatPointer() functions in
"vasu" <firstname.lastname@example.org> wrote in message
...How to get the column header value in the datawindow
I had problem regarding the column header number in datawindow . I mean that
i want to get the column header value whenever i click on the
column header, i was able to get the column header name with ("dwo.name").
Is there any chance of getting the column header value with
dwo or other event plz help me
Assuming the header is a static text object, dwo.Text
"venu" <email@example.com> wrote in message
> Hi All
> I had problem regarding the column header number in datawindow . ...Crosstab datawindow column header names ???
I am trying to read column header values of a crosstab datawindow :
- I tried GetItemString ( ), but what are the names of the text header fields : I only got the column name
defined at design time.
- A Describe ( "DataWindow.Crosstab.Columns" ) also give me names at design time.
Thank you for your ideas...
> I am trying to read column header values of a crosstab datawindow :
> - I tried GetItemString ( ), but what are the names of the text header fields : I only got the column name
> defined at design time.
> - A Describe ( "DataWindow....Datawindow Crosstab column data and headers
How do I access the data in the dynamic crosstab columns? How do I access the
text of the headers of the dynamic crosstab columns?
...max no of chars of each column in powerbuilder datawindow
I'm using powerbuilder 5.0
what's the max no of char(s) of each column in powerbuilder datawindow ...
i found i can only input 200 char in a column as no limit set in the column
Pls advise ...
There is no restrictive limit the DW puts on column lengths, but your
database may limit you. If you can't enter more data into your column then
either make your column bigger or turn on vertical or horizontal scrolling.
"JJ" <firstname.lastname@example.org> wrote in message
news:HbllVTg3CHA.email@example.com...Crosstab Datawindow column header sorting
I have got a small question.
I have a crosstab datawindow. Users would like to click on
the column headers to sort the data.
Can you please let me know if this is possible? If so, how?
Thanking you in advance for your time.
...Identity columns with ASA 6 and PowerBuilder datawindows
It seems that as of SQL Anywhere 6 the identity column feature does not
work properly in the PB datawindow any more.
As in version 5 it would automatically retrieve the newly created ID, you
do it manually in ASA 6. The ASA 6 documentation explicitly mentions this.
Has this been fixed in a later build of ASA 6? Why did it stop working?
Did you update your PBODB60.INI to accomodate ASA6?
See the ASA help section "Upgrade notes for Powerbuilder and Infomaker users"
>It seems that as of SQL Anywhere 6 the identity column feature does...How to code, When clicked DataWindow Column Header then sort ?
Hello to you,
How to code, When clicked DataWindow Column Header then sort ?
try copy it from PFC function
"steven" <firstname.lastname@example.org> wrote in message
> Hello to you,
> How to code, When clicked DataWindow Column Header then sort ?
> Pls advice
...How to create dynamic columns in the Datawindow Using powerbuilder
Can any one let me know How to create dynamic columns in the data window
using modified method.
Thanks in Advance
Please refer "Datawindow Syntax" tool provided by sybase for
generating the syntax to create dynamic columns.
/*************Dynamic column Syntax
<DW Control Name>.Modify(&
"create column( id=<an integer> tabsequence=<an integer>
accelerator='<a single letter>' moveable=<0 - False, 1 -
True> resizeable=<0 - False, 1 - True> pointer='<Arrow!,
Cross!, HourGlass!, IBeam!, Icon!,...Deleting Rows with Identity Columns through Powerbuilder Datawindow
Perhaps I should be posting this in a Powerbuilder newsgroup, but I am
having the following problem:
I have a Powerbuilder 6.5 application which is using an ASE 12.5 database
with Enhanced Full Text Search. Because of the EFTS, many of the tables
make use of identity columns. Whenever users attempt to delete a row from
one of these tables through a datawindow, they receive a "Rows Changed
Between Retrieve and Update Error"!
I have tried changing the "ON DELETE" settings of the datawindow, but to no
However, I can delete records from the table th...Does the HTML Datawindow have the ability to sort by clicking on the column header?
This was a feature of the Sybase Datawindow DTC. Please tell me if this is
possible and where I can find documentation on how to do this. Thanks.
You can send any modify expression to the Web Datawindow, so yes, the
functionality is their, but this is the degree to which it is exposed.
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training
Thanh Le wrote in message <8leQezRr#GA.email@example.com>...
>This wa...Reference the name of the header object for a column in a grid datawindow.
Does anyone know a way to reference (using the PFC is an option) the
name of the static text header field for a column in a grid datawindow? I
am doing dynamic column ordering in PB 8.01. This can be done by making
columns invisible and then visible again in the order you want them
displayed. Well in PB 6.5 all you had to do was do a Modify with the column
number and set the visible property to 1. In PB 8.0 doing that only makes
the column's data visible, but not the header text field. That needs to be
done via another Modify. When in most cases using the column'...Getting column's header in a Crosstab datawindow
My problem is as follows
I have made a cross tab datawindow. In that i want to change the column headers
at runtime. How could i get cloumn header name(it will vary at runtime) and
it at runtime. One thing is that i can't use column expression because i have to
get the value from other table.
Thanks in advance.