Home > Software engineering >  VB6.0 by use use visual data manager ACCESS, display the ERROR 6, overflow
VB6.0 by use use visual data manager ACCESS, display the ERROR 6, overflow

Time:09-19

Hello everyone, I side with the ACCESS database, a table inside design added 96 fields, when added to the 97 field, double-click to open the table will display the ERROR: 6 overflow, please help me to find out what is going on, thank you


CodePudding user response:

All commented On the Error Resume Next statement, in VB6 IDE,
The error and then click the debugging, the cursor will stop error in the statement,
Or
In doubt may have a logical error statements in advance to set breakpoints, run through the breakpoint interrupt,

At this point can be used in the immediate window
? The variable name
Or
? The function name () function parameter
Or
Process (parameters)
Auxiliary debugging,

CodePudding user response:

reference 1st floor zhao4zhong1 response:
comment out all On Error Resume Next statement, in VB6 IDE,
The error and then click the debugging, the cursor will stop error in the statement,
Or
In doubt may have a logical error statements in advance to set breakpoints, run through the breakpoint interrupt,

At this point can be used in the immediate window
? The variable name
Or
? The function name () function parameter
Or
Process (parameters)
Auxiliary debugging,

Program is running is no problem, just can't use VB own data manager check the MDB file within the data, can only borrow some external software to check the modification

CodePudding user response:

In a 64 - bit Windows:
64 exe and DLL in the directory c: \ Windows \ sys tem32 directory.
32 bit exe and DLL in the directory c: \ Windows \ sys wow64 directory.
So pay attention to:
In win64 system registered under 32-bit ocx DLL to 32 ocx or copy the DLL to the c: \ Windows \ syswow64 \ directory,
And registered to c: \ Windows \ syswow64 \ regsvr32 XXXXXXX ocx or DLL
Under win64 a system set up 32-bit programs use a database alias to c: \ Windows \ \ syswow64 \ cliconfg exe
Under win64 a system set up a 32-bit application system DSN to c: \ Windows \ \ syswow64 \ odbcad32 exe

CodePudding user response:

This is not program problem, it is design problem,
A ninety a few field list, basically belongs to the table of unavailable,
Look at your field names, can solve the problem entirely on record,
Advice about Internet search database design paradigm, not complicated,