Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by daniel32

  1. daniel32

    Modifying Code Table through the application

    I have a window that is used as a search window within the application I'm working with, and I want to reuse it within a different part of the application. The problem I'm having, is that the window was that part of the selection criteria was designed as a code table instead of a drop down...
  2. daniel32

    SYSTEM DATE

    But today into a variable and get the year from the variable. That should fix your syntax error and get you what you want. Daniel
  3. daniel32

    Two Line Command Button

    Does anyone know of a way to have text wrap on a command button? I have tried resizing it, and all that happens is the text gets cut off. I also did not see any properties listed that I could set to get the text wrap. I am using PB 7.0. Daniel
  4. daniel32

    Datawindow identity column

    Gary, I do not know of a way you can make it appear without re-retrieving the datawindow. But, the one thing you can do is try coding something similar to the following in a post save or update event. dw_1.Reset() dw_1.Retrieve(retrieval arguments if needed) This will reset the window and...
  5. daniel32

    Powerbuilder 9 - Child dropdown datawindow

    getjbb, Try the following code and see what happens. idw_child_CB_Set.InsertRow(0) idw_child_CB_Set.SelectRow(0,FALSE) idw_child_CB_Set.SetRow(1) idw_child_CB_Set.SelectRow(1,TRUE) By inserting a row into the datawindow and then setting the row, you should be able to have the row display the...
  6. daniel32

    Need to set different editmasks for different rows in the same column.

    Pbp, I would use the method that bubbly suggested. That looks like it would work quite well. Daniel
  7. daniel32

    Need to set different editmasks for different rows in the same column.

    PBP, Are these rows going to be inserted or retrieved onto the datawindow? If they are going to be inserted, I would place your code in either the insert or pre_insert event to set the edit mask for the column. If they are going to be retrieved onto the datawindow, then place your code in the...
  8. daniel32

    Stored Procedure Datawindow

    What version of PB are you using ?
  9. daniel32

    ItemChanged Event for a DDDW column?

    Keith, If you are using a dddw there should be a selectionchanged event for the drop down datawindow. Put your code in the selection changed event instead of itemchanged and see if that does the trick. Daniel
  10. daniel32

    515 error in Powerbuilder 7.03

    If this is happening when you are attempting to save the datawindow, try dw_1.Accepttext() and see if that solves your problem. From what you said, it sounds like this is happening when you insert a row. AcceptText() will place a value in the buffer and should stop this error from happening.
  11. daniel32

    strange error with pb6.0

    If you have a backup copy of the datawindow soemwhere remove it from the library list you are trying to migrate. If you are able to complete the migration, copy the datawindow back into the library you removed it from or recreate the datawindow all together.
  12. daniel32

    Reset Single Line Edit Control

    On top of that, make sure you do a dw_XX.SetFocus() to set the focus back on the datawindow after you have cleared the fields.
  13. daniel32

    DataWindow Error: Types of Expressions must match

    Girls, All your data can not be committing OK if you are getting the Datawindow error. I had this happen to me and the problem was the datatypes in the code being used for updating did not match the datatypes in the table in the database. So I would start there and see if that solves your...
  14. daniel32

    datawindow.print.paper.size

    Try using papersize = 13 and then playing with the left and right margins until you get it formatted the way that you want it. That is about the only other thing I can think of that you might be able to do. Either that or reformat your report so that it fits into one of the options. Daniel32
  15. daniel32

    datawindow.print.paper.size

    ESC1N, You can look at print.property in pb help. There it tells you how to specify the paper size that you want to have printed. To print in landscape, you would code it as dw_1.Object.DataWindow.Print.Orientation = 1 (Landscape) There is a long list of all the paper sizes that you can...

Part and Inventory Search

Back
Top