[Access] "Subscript out of range" foutmelding.

Pagina: 1
Acties:
  • 992 views sinds 30-01-2008
  • Reageer

Acties:
  • 0 Henk 'm!

  • Refragmental
  • Registratie: Oktober 2000
  • Laatst online: 23-06 15:15
Ik probeer in Access 2000 een AutoFormulier te maken aan de hand van een Query. Vreemd genoeg weigert ie dit met de melding "Het subscript valt buiten het bereik" (In het engels "Subscript out of range").

Query bestaat uit meerdere tabellen. 4 om precies te zijn. De relaties tussen de tabellen zijn als volgt...
Tabel 1 heeft een relatie met tabel 2
Tabel 2 met tabel 3
Tabel 3 met tabel 4


Ik heb werkelijk geen enkel idee waar dit aan kan liggen :/
Kan iemand me hier een handje helpen?

Acties:
  • 0 Henk 'm!

Anoniem: 94424

Hoe groot is je query? Bij de RecordSource geldt een maximale lengte! Zie Help. Probeer eens een kleinere query te gebruiken met dezelfde velden. Gebruik desnoods kolommen met een naam en constante. Of maak een query van tabel 2, 3 en 4. En combineer deze met tabel1. Is je form gecreeerd, dan kan je eventueel de originele query kiezen.

Acties:
  • 0 Henk 'm!

  • Refragmental
  • Registratie: Oktober 2000
  • Laatst online: 23-06 15:15
Probleem is opgelost. :)
SYMPTOMS
When you click the AutoReport: Columnar wizard in the New Report dialog box to create a report that is based on a query, you receive the following error message:

Subscript Out Of Range Error
RESOLUTION
Instead of the AutoReport: Columnar wizard, use the Report Wizard to create the report. To do so, follow these steps:
Start Microsoft Access, and then open the database that you want to use.
In the Database window, click Reports under Objects, and then click New.
In the New Report dialog box, click Report Wizard, click the query that you want to base the report on in the Choose the table or query where the object's data comes from box, and then click OK.
Bron:
http://www.kbalertz.com/Feedback_306326.aspx