Hi
I have option explicit on and I am getting an "Option Strict On disallows
late binding." error on the following code;
UpdateCategories(bmCompanyDetails.Current("ID"))
bmCompanyDetails is the currency manager for the client table (defined as
Private WithEvents bmCompanyDetails As System.Windows.Forms.CurrencyManager)
and the calling function is defined as; Private Sub UpdateCategories(ByVal
Company_ID As Integer)
Any help would be appreciated.
Thanks
Regards 10 1537
Hi John,
Are you sure you do not want the bmCompanyDetails.position because that
instruction you now have does as far as I know not exist?
Cor
Hi John,
Are you sure you do not want the bmCompanyDetails.position because that
instruction you now have does as far as I know not exist?
Cor
I need the explicit id value as there are child records associated with that
company id.
Thanks
Regards
"Cor" <no*@non.com> wrote in message
news:OI**************@TK2MSFTNGP09.phx.gbl... Hi John,
Are you sure you do not want the bmCompanyDetails.position because that instruction you now have does as far as I know not exist?
Cor
I need the explicit id value as there are child records associated with that
company id.
Thanks
Regards
"Cor" <no*@non.com> wrote in message
news:OI**************@TK2MSFTNGP09.phx.gbl... Hi John,
Are you sure you do not want the bmCompanyDetails.position because that instruction you now have does as far as I know not exist?
Cor
John,
Writting with you is making a puzzle,
I think you mean something as
UpdateCategories(Cint(directcast(UpdateCategories( bmCompanyDetails.Current,
datarowview)("ID"))))
I am curious if this was it?
:-)
Cor
John,
Writting with you is making a puzzle,
I think you mean something as
UpdateCategories(Cint(directcast(UpdateCategories( bmCompanyDetails.Current,
datarowview)("ID"))))
I am curious if this was it?
:-)
Cor
Hi John,
I typed it just in of course
UpdateCategories(Cint(directcast(bmCompanyDetails. Current,
datarowview)("ID")))
Cor
Hi John,
I typed it just in of course
UpdateCategories(Cint(directcast(bmCompanyDetails. Current,
datarowview)("ID")))
Cor
Thanks. UpdateCategories(CInt(DirectCast(bmCompanyDetails. Current,
DataRowView)("ID"))) has worked which I think is what you meant.
Regards
"Cor" <no*@non.com> wrote in message
news:u8*************@TK2MSFTNGP09.phx.gbl... John,
Writting with you is making a puzzle,
I think you mean something as
UpdateCategories(Cint(directcast(UpdateCategories( bmCompanyDetails.Current, datarowview)("ID"))))
I am curious if this was it?
:-)
Cor
Thanks. UpdateCategories(CInt(DirectCast(bmCompanyDetails. Current,
DataRowView)("ID"))) has worked which I think is what you meant.
Regards
"Cor" <no*@non.com> wrote in message
news:u8*************@TK2MSFTNGP09.phx.gbl... John,
Writting with you is making a puzzle,
I think you mean something as
UpdateCategories(Cint(directcast(UpdateCategories( bmCompanyDetails.Current, datarowview)("ID"))))
I am curious if this was it?
:-)
Cor
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: biro man |
last post by:
I have a dynamic database driven page that I have been working on and
tweaking etc until I have got it to work pretty much the way I want it to.
I also have a defined website. I wish to include...
|
by: Microsoft News |
last post by:
I have a project that was created all with Option Strict OFF. Works great,
not a problem with it. But if I turn Option Strict ON then I get a LOT of
errors.
My question, should I even care...
|
by: Doug Hill |
last post by:
Please, Microsoft, update Option Explicit
Option Strict barks at late binding. We love late
binding. So Option Strict flags too many things.
Option Explicit is misleading.
It allows
Dim...
|
by: John |
last post by:
Hi
I have option explicit on and I am getting an "Option Strict On disallows
late binding." error on the following code;
UpdateCategories(bmCompanyDetails.Current("ID"))
bmCompanyDetails is...
|
by: Rich |
last post by:
Hello,
If I leave Option Strict Off I can use the following
syntax to read data from a Lotus Notes application (a
NotesViewEntry object represents a row of data from a
Lotus Notes View - like a...
|
by: YYZ |
last post by:
After reading many messages in this group, it seems that the preferred
setting for this is ON. Okay, I did that in my project (first with
..Net -- long time VB6 developer) and now a bunch of...
|
by: John Kotuby |
last post by:
Hi all,
I am simply trying to include the Option Explicit declaration at the top of
an ASP page and am getting an error:
Error Type:
Microsoft VBScript compilation (0x800A0400)
Expected...
|
by: Michael Jenck |
last post by:
Hi All,
I have been playing with the codedom and can't get it to output for
option compare Binary with a CodeCompileUnit. I have searched the web
and Don't now if it's possible. If it's not...
|
by: Jimmbo |
last post by:
I get an option explicit error saying it does not appear as the first line whenever I use it with utf-8 charset encoding on my Sun Cobalt server running Chillisoft on Linux.
The error does not...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |