Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect Event Viewer Keywords null value
Message
From
09/01/2017 11:52:05
 
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01646401
Message ID:
01646422
Views:
28
>A .Net long (Int64) is never null (unless you use a nullable type) - it's a value reference. Are you confusing it with the DBType (which can be nullable)

The event viewer object I receive has it as null, in a new environment we are using. Under 2008, I use to have a numeric value in there. But, under 2012, it is null. So, when this is transfered into the table, it ends up as a null. So, I thought I would detect its null value, before saving, and adjust accordingly. However, the event viewer object is a beast on its own as not everything is accessible in conventional ways. I cannot even compare .HasValue as it will not detect it is null. So, even with that, I ended up with a null value in the table. For now, I had to put it in comment.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform