To fix your error message I think line 27 needs to be
Private WithEvents OrderDtl_DataView As EpiDataView
Everything I have written is using EpiDataView not sure if DataView will
work.
I have never done a UD table as FKView so I do not know about the rest
of the code.
Hope this helps.
Dale
________________________________
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Wednesday, November 29, 2006 3:19 PM
To: vantage@yahoogroups.com
Subject: [Vantage] UD as Foreign Key
I am using The code from help to add a UD table as FKView but I am
getting Compile errors. Here is what I have:
Module Script
27 Private WithEvents OrderDtl As DataView
28
29 Sub InitializeCustomCode()
30 OrderDtl_DataView = OrderDtl_Row.dataView
31 InitializeProcCallDataViews()
Error: BC30451 - line 30 (428) - Name 'OrderDtl_DataView' is not
declared.
I am unsure what I am doing wrong I am using exactly what it says in
the help.
########################################################################
Attention:
This email message is privileged and confidential. If you are not the
intended recipient please delete the message and notify the sender.
Any views or opinions presented are solely those of the author.
This email message has been scanned for Viruses and Content and cleared
by MailMarshal SMTP
For more information go to http://www.ramsys.com
########################################################################
[Non-text portions of this message have been removed]
Private WithEvents OrderDtl_DataView As EpiDataView
Everything I have written is using EpiDataView not sure if DataView will
work.
I have never done a UD table as FKView so I do not know about the rest
of the code.
Hope this helps.
Dale
________________________________
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Michael McWilliams
Sent: Wednesday, November 29, 2006 3:19 PM
To: vantage@yahoogroups.com
Subject: [Vantage] UD as Foreign Key
I am using The code from help to add a UD table as FKView but I am
getting Compile errors. Here is what I have:
Module Script
27 Private WithEvents OrderDtl As DataView
28
29 Sub InitializeCustomCode()
30 OrderDtl_DataView = OrderDtl_Row.dataView
31 InitializeProcCallDataViews()
Error: BC30451 - line 30 (428) - Name 'OrderDtl_DataView' is not
declared.
I am unsure what I am doing wrong I am using exactly what it says in
the help.
########################################################################
Attention:
This email message is privileged and confidential. If you are not the
intended recipient please delete the message and notify the sender.
Any views or opinions presented are solely those of the author.
This email message has been scanned for Viruses and Content and cleared
by MailMarshal SMTP
For more information go to http://www.ramsys.com
########################################################################
[Non-text portions of this message have been removed]