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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: 061178
  • Content: Threads
  • Order by date
  1. 061178

    Checkboxes

    Hi there, How do you set a checkbox to false according to what other checkboxes are checked? There are multiple rows on my dw. e.g.this.object.synd_uw_responsible[row].Checked = False doesn't run. so when user tries to check a checkbox if they can't then I want to overwrite the fact that they...
  2. 061178

    Datawindows

    I have recently had a lot of hanging problems with PB9. I have created a new workspace and now when I right click - Modify DW the application just hangs. Before I couldn't even get into PB, now I have a new workspace I can not modify the datawindow as the app just hangs. Any help would be...
  3. 061178

    Comments field declared 500 varchar only showing 256 chars

    Hi, I have a column in a table declared as a T_description (500) which is a varchar (500). In the application I save my record which updates the column with 350 chars (for e.g.) the update works and when select the column in query analyser the column has been updated. In the app only 256 chars...
  4. 061178

    Calculating 2 years from a date

    Hi, I need to add two years onto a date in PB. I can not simply add 730 days to the date I have as this is inaccurate. I need to calculate when a leap year occurs and then add on the number of days accordingly. Can anyone point me in the right direction? Thanks.
  5. 061178

    Implementing new validation on existing records

    I have put in new validation on the itemchanged event of a field and in pfc_Validation which works well. But if an existing record is opened which fails the new validation check I am still able to save (as nothing has been changed.) Can someone suggest how I get around this? I could force the...
  6. 061178

    Validation on save

    hi, i have a problem where if 1 field is altered to specific value then a 2nd field should be filled. I can not do this validation soley on the itemchanged event as the 2nd field is not changing. The problem is that the 1st field is filled then the user can simply save with no value being in the...
  7. 061178

    pfc_prermbmenu

    hi there, I have a dw inherited from dw_main which is inherited from u_dw. I have script in the pfc_prermbmenu to enable the open option on the right menu and then bring back detail of what user chooses. When I run the app the menu doesn't appear. when I add breakpoints in the event and debug it...
  8. 061178

    Datawindow doesn't have update property error

    Hi, I posted a thread earlier in year but unfortunately nothing that suggested resolved my problem. I have the dw does not have update capability message. the dw has the update properties set correctly. I have even changed the data object (actual datawindow) to another very similar one which I...
  9. 061178

    Required value message on datawindow

    I have a datawindow and when I try to save I get the message 'Required value missing for [field name] on row 1. Please enter a value'. This is usualy a message that appears when there is no default value set for a field on the dw. The field in question is a checkbox and the default value is 'N'...
  10. 061178

    using describe to get the current update properties of dw

    Hi , I can use: This.Describe("DataWindow.Table.UpdateTable") to get the table that is being updated from a dw, but I need to get whether the update properties are set to Yes or No for the dw. I want to do this on the updatestart event. Can anyone help?
  11. 061178

    date function exclude weekends

    Hi, I have used RelativeDate powerscript function to calculate a future date. This was fine, but the client now wishes to exclude weekends. RelativeDate doesn't have this functionality and I can not find a function in PB which does. Does anyone know of a function or can give me some pointers to...
  12. 061178

    Altered Database name and now can't connect to db in PB 9

    Hi, I've altered the name of db (by backing up db then restoring it to new name under a new SQL Server group in Enterprise manager). I can connect to db in SQL Server 2000. In PB 9 (in the database profiles setup) I can not connect to the new database, I've entered the correct server etc, but...
  13. 061178

    Adding a record to datawindow

    Hi, I've got a new screen with a lot of fields on it. I have added the functionality to add a new record and use setrowfocusindicator to use a hand to point to the first field of the new record. The only problem is is that although the cursor is on the first field of the new record the window...
  14. 061178

    Unexpected things occuring in the executable

    Hi, I've done some changes to my pb 9 code. Instead of completing a full build through the project I have built the relevant runtime libraries of the .pbls that have altered. I have then used the .pbds with the relevant exe and dll's that were from the last full build. when I run the exe on a...
  15. 061178

    Datawindow does not have update capability

    Hi, I am getting the above message but the datawindow does have update capability. I have checked Key columns, Use update and selected the correct fields to be updated and check that the primary key is correct, but this error still shows when I try to save. Anyone have any other ideas?
  16. 061178

    Dropdowndatawindow within datawindow

    Hi there, I have a dddw in a dw and I have successfully retrieved a value into this dropdown depending on a retrieval argument (using getchild etc). Now all I would like to do is set the value of this field (which is a dropdown) to be the only value that is retrieved. Basically, this field is...
  17. 061178

    Powerbuiler 9 PFC - pfc_retrieve

    Hi, I have inherited a user object from w_tabpg_entity and created code in the pfc_retrieve event to retrieve on two retrieval arguments. When I run my code a message is displayed which says that it is expectig 2 retrieval arguments but only got 1. The reason I think is because in the...
  18. 061178

    PB9 and SQL Server 2000

    Hi, I've recently upgraded from SQL Server 6.5 to 2000 and now my application (PB9) sometimes displays the message 'The COMMIT transaction request has no corresponding BEGIN transaction ' when I try to save changes. Any suggestions would be very very helpful. Thanks.

Part and Inventory Search

Back
Top