Ms Access and SQL: how to identify where error occurs -


i have form in ms access lot of queries running calculate kinds of numbers using user input , using other queries ouput. of sudden error below:

enter image description here

error text is:

the record source ' ' specified on form or report not exist.
name of recordsource may misspelled, recordsource deleted or renamed, or recordsource exists in different database.
in form or report's design view or layout view, display property sheet clicking properties button, , set recordsource property existing table or query.

i don't remember added/removed have caused , can't find error occurs. how can i, guess, debug access form while it's running queries?

i don't see image blocked @ work.

the 1 way debug application when errors occurs break execution using keyboard combination :

ctrl + pause/break 

do when error message appears

this doesnt work if application compiled in mde/accde


when ctrl-break doesnt work, have add break point in code.

bring vba window using

alt + f11 

open code of form, go in procedure triggers queries, select line of code @ beginning , add breakpoint using f9

then run form, stop execution on breakpoint , show vba window, continue execute code step-by-step using f8 until error occurs


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -