I believe you are trying to pupulate your variable based on the selected row for those 3 columns.
You can use
a.GETITEMSTRING
variable1 = this.GetItemString(row,'col2')
variable2 = this.GetItemString(row,'col4')
variable3 = this.GetItemString(row,'col6')
or
b.dot notation
variable1 =...
I believe you are trying to pupulate your variable based on the selected row for those 3 columns.
You can use
a.GETITEMSTRING
variable1 = this.GetItemString(row,'col2')
variable2 = this.GetItemString(row,'col4')
variable3 = this.GetItemString(row,'col6')
or
b.dot notation
variable1 =...
SOrry, i forgot to mention that, there's only one row, the dw is freeform and with scroll since the dw has alot of columns to hold. I believe I mentioned scrolling to proper column, sorry if my question is not clear.
Im trying to use the Tab key and when the column is below the height of dw, it...
Hi,
Im wondering how come a datawindow doesn't scroll to the appropriate column position when using Tab Key. I tried running our other system and it seems to be working. But when I created a datawindow with lengthy columns and when I use tab key to navigate thru columns, the datawindow doesn's...
Hi, thanks for the reply.
I figure-out how to accomplish it without using a UNION keyword. And yes it was on my task, actually Im using the query for my Powerbuilder datawindow object.
I used the inline view method in accomplishing it.
Thanks again.
Have fun!
Hi,
I want to display a blank row when my query returns 0 result. i have accomplished this using a UNION clause,
Select col1 from table where col1 = 1
Union select '' where not exists (select col1 from table
where col1 = 1)
but Im curious on how it could be handled w/o using a union...
Hi, you can define the sorted columns in the datawindow painter menu Rows>Sort , or you can use ORDER BY keyword in your Query.
Hope this helps.
Have fun!
Try to add single quote on as_time for scenarios 1 and 2 just like what you did in as_date eg. '"+as_time+"'
and also check if the passed argument as_time is in a valid time format.
Hope this helps.
have fun!
Hi,
When the user clicked the button, definitely that's a clicked event. There are systems events and user events(lookup 'event' in Help file). There's no way of getting the event in a string format as far as I know. Just curious, what exactly do you want to happen in your program?
Have fun!
Thanks. Actually this specific library is not being used anymore, and some developers just kept on saving objects in that library, knowing that the developer who was mantaining that library was regularly cleaning-up the library once the objects moved in our testing phase.
What happened was, when...
Hi,
Does anyone knows what's the message # for Tab!?
Im using send() and i need the msg#. I check the winuser.h and it shows there the VK_TAB with hexadecimal 0x09.
Hi guys,
Does anyone knows how i can post a datawindow(in grid- result of a query) on web. Basically it's just plain
calling the datawindow with the datas in web(its just like posting/calling a word or excel document on web). Im planning do it in asp but since im using pb i thought i might as...
Hi,
Can anyone tell me where I can find a documentation on size limit of a pb library? I guess it's somewhere around 32MB per library, and after that everytime you'll access that library in the library painter, it GPF.
Have fun!
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.