Data Controls causing crash
Posted on 1999-01-01
I have a complex input form for my database front end in VB4.0. I am using picture boxes and the tab control to place several input screens on one form using the various visible "true" or "false" settings. One particular database table is causing all of the problems. I have the field objects linked to a Data1 control for inputs. I have a Button to make visible a DBGrid control linked to Data1. I can view the record table as input fields or as the data grid or datasheet by turning the visible true or false on or off. When I use the "Refresh" button (Data1.Refresh) the program is crashing after one or two uses of "refresh" command. This has been consistant. I suspect that tying the Data1 control to the DBGrid and various field objects is causing the problem. I either get an error "out of stack" or a crash message in Kernel32.Dll. This message also shows "page fault" or "out of stack". Does anyone have ideas on how to avoid this problem?