If you don't want to explicitly spell out each column, you could loop through all and set their tab order through a modify like Matt suggested. Something like:
Long ll_COL
FOR ll_COL = 1 TO Long( dw_REF.Object.DataWindow.Column.Count )
dw_REF.Modify( "#" + String( ll_COL ) + ".TabOrder='0'"...
Is anyone here going to the conference in Charlotte?
As of now, myself and a fellow programmer are going. Just curious if I get to be in-awe, in-person of any of the members from the forums.
Off the top of my head... In the event/function calling the SetColumn( ), you'll also need some describe/modify calls to the DW.
li_MyX = dw.Describe( "MyColumnName.X" )
dw.Modify( "DataWindow.HorizontalScrollPosition = " + String( ll_MyX ) )
This might get you started down the path. Looks like there is a link option:
http://stackoverflow.com/questions/10488831/link-to-add-to-google-calendar
1.) I've always cheated and used rectangles or something of that nature and manipulated their visible status.
2.) Seems every time I go to use a TV-DW, I try this... So far, it's never worked.
As far as I know, there are no out-of-the box options for this. I've played around with this using a string stored as an instance variable which is set to the full text you want to scroll, a timer event, and then using the Mid( ) function to display a substring of the instance variable. It...
There may be a simpler way, but I'm not coming up with it off the top of my head...
Can you add a computed field to the detail with the value of arg_min/arg_max and then GetItemNumber( ll_row, 'computed_field_name' ) them?
I agree with Matt... More detail is needed, especially if there's an error.
The first thing I always check is what is checked to compile as a PBD versus EXE. If the main library does not have the PBD box checked, then it will not create a PBD file for it... So if there's any objects in that...
Don't take this as the definitive answer, but I have never seen a direct export which had any visual effect. However, what I've done in the past is used OLE control of the exported .xls(x) file to format it and make it pretty.
Have you tried wrapping your structure array inside another structure? You could include a success variable at that level, along with your structure array. Sadly, I've not tried passing arrays in more modern versions of PB, but in earlier versions they did not work... So that's when we...
Don't take this as a definitive answer, but we never had any success consuming web services in PB10.5. We migrated to 12.0, and have zero issues with this now. Keep in mind, we were consuming SAP web services, and not creating them.
It would require a custom function. You would need to loop through the objects in the DataWindow, and then review their text/values based on the object type.
To get the objects in a DataWindow, use something like ls_YourVariable = dw_YourDW.Object.DataWindow.Objects This will give you a...
I stop by a few times a week. However, for the most part, the questions being asked anymore are way out of my wheelhouse and often issues with newer versions than we're running at work.
Have you tried using the .Object for the OLE object itself? For instance, using your example, it would look like:
w_datawindow_drawing.dw_1.Object.ole_1.Object.LinkTo( pdf_link )
How are you retrieving the data? If it's via a SQL statement (or stored procedure), then you can use the COALESCE( ) function to build your concatenated string in a nice, clean, and fast way.
As Miguel stated, you will need to use the ansi keyword in the function declaration when passing a string. From the PB 10.5 help file for external functions:
"ansi - Required if the function passes a string as an argument or returns a string that uses ANSI encoding. Even if you use the default...
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.