I have a weird bug that I'm working with that I can't figure out why it's happening besides maybe a timing issue.
I have a remote database setup in NAB. I built a form widget with this data source.
In my app, there is a grid widget that has a column button. When the user clicks this button, the app hides that grid and filters(and AutoShow) the form widget. What the user sees in this form widget is correct data, exactly what I'm expecting.
I also have a form helper that runs when the form is created. The first time this RPG program runs, the gMode is form render which is expected. However, when I use the vvIn_char to pull one of the values from the form, I get the default value in that datsource. It's like the filter hasn't been run yet.
I have a back button the user can press. This hides the form, goes back to the grid, and repeat. Click the button, which hides the grid and shows the form, gMode is now form show and vvIn_char returns the value I see in the form.
Does this make sense? I don't think I have seen this issue with datasources that are built with files on the i so I'm wondering if it has to do with the remote data base.
Any ideas on what I can do to resolve the problem?
Thanks.
I have a remote database setup in NAB. I built a form widget with this data source.
In my app, there is a grid widget that has a column button. When the user clicks this button, the app hides that grid and filters(and AutoShow) the form widget. What the user sees in this form widget is correct data, exactly what I'm expecting.
I also have a form helper that runs when the form is created. The first time this RPG program runs, the gMode is form render which is expected. However, when I use the vvIn_char to pull one of the values from the form, I get the default value in that datsource. It's like the filter hasn't been run yet.
I have a back button the user can press. This hides the form, goes back to the grid, and repeat. Click the button, which hides the grid and shows the form, gMode is now form show and vvIn_char returns the value I see in the form.
Does this make sense? I don't think I have seen this issue with datasources that are built with files on the i so I'm wondering if it has to do with the remote data base.
Any ideas on what I can do to resolve the problem?
Thanks.
Comment