Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Das Objekt enthält das Automatisierungsobjekt 'I' nicht
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael Alexander  
View profile   Translate to Translated (View Original)
 More options Aug 7 2012, 7:22 am
Newsgroups: de.comp.datenbanken.ms-access
From: "Michael Alexander" <MirKeinS...@DontSpamMe.invalid>
Date: Tue, 7 Aug 2012 13:22:55 +0200
Local: Tues, Aug 7 2012 7:22 am
Subject: Das Objekt enthält das Automatisierungsobjekt 'I' nicht
Hallo!

Auf "frmKunden" mit Registern liegt auf einem der Register das Formular
"frmAR_ufo" (Ob es dann als Ufo gilt, wenn es auf einem Register liegt, weiß
ich jetzt gar nicht...)
Die Datenherkunft des frmAR_ufo ist eine qry, die Verknüpfung 1:n ist über
das Feld KundenID. ARID steht für RechnungsNummer.

Ich erhalte beim ERSTMALIGEN Öffnen des Formulars "frmBestellungen" o.a.
Warnung, weil Fehler dürfte es nicht sein, denn "frmBestellungen" wird
trotzdem richtig geöffnet.
Wenn frmBestellungen geöffnet stehen bleibt und ich nochmals zurück ins
frmAR_ufo gehe und dann zu einer anderen Bestellnummer ins frmBestellungen
springe, funktioniert das Ganze ohne Warnung. Es kommt diese Warnung nur
beim allerersten Öffnen.

Private Sub ARID_Click()
'On Error Resume Next
DoCmd.OpenForm "frmBestellungen", , , , , , "[ARID]= " & Me.ARID
'DoCmd.OpenForm "frmBestellungen", , , , , , "[ARID]= " &
Forms!frmKunden!frmAR_ufo.Form![ARID]

Beide Versionen vom Docmd.Openform bringen übrigens die gleiche Warnung.
"Das Objekt enthält das Automatisierungsobjekt 'I' nicht", wobei es nicht I
ist sondern ein Längsstrich, was auch immer der darstellen soll.

Debug.Print Me.OpenArgs des frmBestellungen bringt mir z.B. [ARID]= 10148,
was ja richtig ist.

Trotz googeln habe ich keine für mich zutreffende Lösung gefunden.

Wer hat einen Tipp, wie ich dieses Verhalten von Access2010 32bit SP1
verhindern kann.

Danke
Michael


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Alexander  
View profile   Translate to Translated (View Original)
 More options Aug 7 2012, 7:30 am
Newsgroups: de.comp.datenbanken.ms-access
From: "Michael Alexander" <MirKeinS...@DontSpamMe.invalid>
Date: Tue, 7 Aug 2012 13:30:54 +0200
Local: Tues, Aug 7 2012 7:30 am
Subject: Re: Das Objekt enthält das Automatisierungsobjekt 'I' nicht
Interessante Ergänzung:

Auch wenn ich das frmBestellungen wieder schließe und danach aus dem
frmAR_ufo die selbe ARID nochmals als OpenArgs für das frmBestellungen
verwende, dann kommt die Warnung auch nicht. Nur wenn ich eine andere ARID
als Openargs aufrufe, dann kommt wieder dieses Warnung.

Michael

"Michael Alexander" <MirKeinS...@DontSpamMe.invalid> schrieb im Newsbeitrag
news:jvqtqh$sfd$1@news.albasani.net...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Karl Donaubauer  
View profile   Translate to Translated (View Original)
 More options Aug 7 2012, 1:29 pm
Newsgroups: de.comp.datenbanken.ms-access
From: "Karl Donaubauer" <NoS...@donkarl.com>
Date: Tue, 7 Aug 2012 19:29:11 +0200
Local: Tues, Aug 7 2012 1:29 pm
Subject: Re: Das Objekt enth lt das Automatisierungsobjekt 'I' nicht
Hallo, Michael!

Michael Alexander wrote:
> ...
> Private Sub ARID_Click()
> 'On Error Resume Next
> DoCmd.OpenForm "frmBestellungen", , , , , , "[ARID]= " & Me.ARID
> 'DoCmd.OpenForm "frmBestellungen", , , , , , "[ARID]= " &
> Forms!frmKunden!frmAR_ufo.Form![ARID]

> Beide Versionen vom Docmd.Openform bringen brigens die gleiche
> Warnung. "Das Objekt enth lt das Automatisierungsobjekt 'I' nicht",
> wobei es nicht I ist sondern ein L ngsstrich, was auch immer der
> darstellen soll. ...

Passiert der Fehler auch, wenn du das frmBestellungen aus dem
Navigationsbereich ffnest oder nur, wenn du den Code mit den OpenArgs
losschickst? Falls letzteres: Was machst du im aufgerufenen Formular
mit den OpenArgs? Vermutlich passiert der Fehler eher dort.

In welchem Objekt befindet sich die Sub ARID_Click?
Welchen Datentyp hat das Feld ARID?

--
Servus
Karl
*********
Access-FAQ: http://www.donkarl.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Alexander  
View profile   Translate to Translated (View Original)
 More options Aug 8 2012, 8:56 am
Newsgroups: de.comp.datenbanken.ms-access
From: "Michael Alexander" <MirKeinS...@DontSpamMe.invalid>
Date: Wed, 8 Aug 2012 14:56:56 +0200
Local: Wed, Aug 8 2012 8:56 am
Subject: Re: Das Objekt enthält das Automatisierungsobjekt 'I' nicht
Hallo Karl!

Dein Hinweis auf das ffnen aus dem Navigationsbereich hat mich auf eine
Idee gebracht, wo scheinbar das bel liegt.
Ich habe noch ein Load-Ereignis, welches den Fehler scheinbar ausgel st hat.
In dieser Konstellation (DoCmd.OpenForm "frmBestellungen", , , , , ,
"[ARID]= " & Me.ARID) brauche ich es aber gar nicht mehr und nach
Deaktivierung des  Load-Ereignisses kommt keine Warnung mehr.

Danke
Michael

"Karl Donaubauer" <NoS...@donkarl.com> schrieb im Newsbeitrag
news:a8d1jkFb27U1@mid.individual.net...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »