Error 15250

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form where if I go into a text control and enter 'AA' and then
delete those two characters, upon exit of the form I get the following
message:

"The database name component of the object qualifier must be the name of the
current database."

I'm trying to establish what this means. There's no event code on the
control. It's simply based on a view datasource.
 
A view datasource? You mean a SQL Server view? If so, it sounds like you
have a qualified reference to the view, something like
'databasename.username.viewname', and that there is some problem with the
'databasename' part of the reference.

A search of SQL Server Books Online confirms that this is definitely a SQL
Server error number and message.

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
I haven't noticed anything different as far as references. The form's
recordsource follows those conventions. I have noticed that if I go to
another tab (the form has several tabs) that has a subform this error occurs
.... but if I go to a tab without a subform, it does not.
 
Rick, I've found that this is the only way I can consistently generate an
error at form level, which I needed to do for some testing of a code fix.
 
Back
Top