Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


IE browser crashes caused by dw computed field (PB 11.5)

IE browser crashes caused by dw computed field (PB 11.5)

IE browser crashes caused by dw computed field (PB 11.5)

Hi Everyone,

I would like to ask for help regarding my issue. IE browser crashes with a message like this "Unexpected error was thrown, the browser will be closed! Please report the error to the administrator. Error:'dw.gobs.computed_field1' is null or not an object." This happens every time the web application loses focus. One example scenario, user inputs data in web application then he receives a message from Yahoo! messenger or user clicks on another application like MS Word, when the user goes back to web application it crashes with the message I mentioned above.
This application works fine in PB Client/Server but the web version does not. The application requires an excel type input and needs to auto-compute some fields (like the 'computed_field1') every time the user changes rows or columns. The 'computed_field1' is currently set as 'sum (col1 for all)', all col1 have zero values after database retrieval. And the user inputs in col2, so as far as I know 'computed_field1' value should remain the same. I have used here grid and tabular as presentation styles but it is giving me the same error. There are no codes in the ItemChanged event. I have tried adding code in DW losefocus like this but it does not work:
if dw_1.rowcount()>1 then
end if

Please advise for any possible solution or workarounds.

thanks in advance.



RE: IE browser crashes caused by dw computed field (PB 11.5)

I was able to fix this by the way. The reason why IE crashes is that aggregates are not supported, which I got reference to the documentation. The datawindow I used have aggregate functions on the columns like sum( #x for all ). For the workaround, I created dummy columns in the SQL Select for the datawindow. And then I added some code in the rowfocuschanged event, dw_1.Describe("Evaluate('Sum(column1)', 0)")).

I hope this helps.



RE: IE browser crashes caused by dw computed field (PB 11.5)


I was going to suggest some sort of post-itemchanged type event. Glad you found a solution.


"Nature forges everything on the anvil of time"

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close