Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validation for Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00630571
Message ID:
00633695
Views:
27
I guess you'd like to know what I found while debugging.

The problem lay with the view and select combination. I have a child view v_sJVDr to which the gird belongs. To sum the yAmount column I used a SQL-SELECT statement on v_sJVDr it failed as I told you. Now I did a simple SELECT v_sJVDr, SUM yAmount TO var and it works beautifully.

Did you come across anything where a SQL-SELECT on a View fails to return the current values.

Also I get a random error regarding one of the 2 GOTO statements, I am not able to reproduce it everytime. Could you help. Yes, I have two child grids on the forms and both the grid use your logic. Has it got to do with switching between grids?

>I use grids for child views and I am using Table Buffering (CodeBook framwork and to utilize its revert function). The validation logic especially the .RefreshControls() does not fire until I save the complete transaction.
>

>
>I am not quite sure what problem you are having. The only buffering I ever use in a productions environment is optimistic table buffering ( except, of course, if I have to index a view )
>
>Are you using the same technique that I outlined in this thread to validate your grid row? If not, can you post some of the code and the calling sequence?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform