Re: Nulls MSAccess and SQL Server

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Mary Chipman (mchip_at_online.microsoft.com)
Date: 10/16/04


Date: Sat, 16 Oct 2004 10:43:22 -0400

Without seeing your code, it's hard to say what's going on. You can
put a Profiler trace on the app to debug and see exactly what Access
is sending over the wire. You can also create a constraint on the
table in SQLS to disallow the empty strings. You might want to
consider re-creating this functionality in a trigger instead of Access
VBA code.

--Mary

On Fri, 15 Oct 2004 07:55:13 -0700, "Peter"
<Peter@discussions.microsoft.com> wrote:

>I've recently upgraded a SQL Server 6.5 database to SQL Server 2000 together
>with it's front end application MSAccess97 to MSAccess2000.
>
>The MSAccess app, run on the client pc uses a Windows API to determine the
>user
>logon and machine name - this data is used for audit purposes and is appended
>to all data records during inserts and updates on the SQL Server database.
>
>However, since upgrade I'm finding that some of the audit fields in the SQL
>Server
>tables do not contain data although these fields are not nullable.
>
>With the previous software if the user details were lost at the client data
>changes
>were blocked at the SQL Server end. It now seems the supposed nulls are
>going across as empty strings therefore accepted by SQL Server.
>
>I haven't changed anything, why would the handling of nulls have changed
>either in
>MSAccess2000, SQLServer2000 or in the interface between the two?



Relevant Pages

  • Re: Performance issue after coverting from Framework 1.1 to 2.0
    ... I think that I encountered the same problem: A large program with Framework ... the SQL Server for the dev database. ... when you deploy the app on a different machine where the SQL Server is no ... app was fine on the dev machine. ...
    (microsoft.public.dotnet.framework.performance)
  • Re: C5 woes. How stable is VFP really?
    ... After that I close the SQL server cursor and work with my manual cursor instead. ... a VFP9 app on a really old machine ... app was under more "pressure", VFP showed ...
    (microsoft.public.fox.programmer.exchange)
  • Re: New to .Net
    ... a copy of Pro although technically you can build apps without it. ... "Paul Ilacqua" wrote in message ... I just need to get the syntax to build a VB.NET - SQL Server ... >> ui and do things pretty much like a full framework app. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Webservices - the way to go...?
    ... about your lack of secure network connectivity your between a rock and a ... To summarize the posts so far: you have a winform app. ... using a webservices data layer to handle all the database interactions. ... Upgrade your database to SQL Server. ...
    (microsoft.public.dotnet.general)
  • Re: Is SQL Server the right platform?
    ... In some cases my App is downloaded and purchased by a single user and both ... presumably attached to SQL Server or SQL Server Express. ... using the Compact Edition, can the Compact Edition database later be moved ... msi which can install the prerequisits required. ...
    (microsoft.public.sqlserver.setup)