Runtime 438 object dosenot support this property or method 
Author Message
 Runtime 438 object dosenot support this property or method

After I converted our database from 2.0 to 97 I am getting this message for
code bellow

'opens notes form limiting it to notes associated with the current
application

Dim curform As Form
Set curform = Screen.ActiveForm

DoCmd.OpenForm "NotesForm", , , "[LinkedTo] = 'Application' and
[LinkedTableID] = " & curform.ApplicationID
Forms.[NotesForm].[TableName] = "Application"
Forms.[NotesForm].[TableID] = curform.[ApplicationID]
Forms.[NotesForm].[TableTextID] = curform.[FCC File]



Mon, 25 Mar 2002 03:00:00 GMT  
 Runtime 438 object dosenot support this property or method
Try using curform! instead of curform.

Access 97 is pickier than 2.0 was about dots and bangs.

HTH
    - Turtle

Quote:

>After I converted our database from 2.0 to 97 I am getting this message for
>code bellow

>'opens notes form limiting it to notes associated with the current
>application

>Dim curform As Form
>Set curform = Screen.ActiveForm

>DoCmd.OpenForm "NotesForm", , , "[LinkedTo] = 'Application' and
>[LinkedTableID] = " & curform.ApplicationID
>Forms.[NotesForm].[TableName] = "Application"
>Forms.[NotesForm].[TableID] = curform.[ApplicationID]
>Forms.[NotesForm].[TableTextID] = curform.[FCC File]



Mon, 25 Mar 2002 03:00:00 GMT  
 Runtime 438 object dosenot support this property or method
You need to change the code to

Forms!FormName

syntax. This is one of the conversion issues in moving to
VBA.

BTW -- you did not need to crosspost so many newsgroups. One
would have sufficed (formscoding or modulesdaovba).

--
MichKa

-------------------------------------
don't send questions by e-mail unless
you're paying for it. (TANSTAAFL!) :-)

random junk of dubious value and
replica error and problem fixing at:
http://www.trigeminal.com


Quote:
> After I converted our database from 2.0 to 97 I am getting
this message for
> code bellow

> 'opens notes form limiting it to notes associated with the
current
> application

> Dim curform As Form
> Set curform = Screen.ActiveForm

> DoCmd.OpenForm "NotesForm", , , "[LinkedTo] =
'Application' and
> [LinkedTableID] = " & curform.ApplicationID
> Forms.[NotesForm].[TableName] = "Application"
> Forms.[NotesForm].[TableID] = curform.[ApplicationID]
> Forms.[NotesForm].[TableTextID] = curform.[FCC File]



Mon, 25 Mar 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Help!- 438- Object doesn't support this property or method

2. Error 438 - Object doesn't support this property or method

3. VB4-16 / Err 438 Object doesn't support this method or property

4. DB2 v5.2 - Error 438 object doesn't support this property or method

5. VB Run time error 438 : Object doesn't support this property or method

6. VB5 Err: 438 Obj doesn't support property or method

7. Help w/ 438 error object does not support property

8. ActiveX Runtime 438; Object doesn't support this property or method

9. Object doesn't support this property or method (Error 438)?

10. Determining, at runtime, if a object supports a method

11. Object does not support this property or method

12. Object doesn't support this property or method : 'DTSGlobalVariables(...).Value.Open

 

 
Powered by phpBB® Forum Software