Re: access newbie

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: John Vinson (jvinson_at_STOP_SPAM.WysardOfInfo.com)
Date: 07/04/04


Date: Sun, 04 Jul 2004 14:53:09 -0600

On Sun, 4 Jul 2004 17:55:26 +0100, "scott" <scott@sporticia.com>
wrote:

>if I was writing this as a web page/sql backend, I would generate x2 sets of
>SQL insert statements, one into the problem table and one into the notes
>table, utilising the pr_number entered
>
>but Access doesn't seem to permit this (it keeps changing my SQL statements
>automatically behind the scenes??), is Access capable of inserting into x2
>tables at the same time from one entry form ?

Typically this would be done using a Form for the main table, a
Subform for the notes table, and the linking field as the master/child
link field. No code needed.

Glad you got it working, even if doing so in a somewhat different
manner!

                  John W. Vinson[MVP]
    Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public



Relevant Pages

  • RE: Adding entry to an SQL DB via ODBC
    ... "Vexander" wrote: ... > I am developing a front end for an SQL DB. ... Every other entry form I have created works, ... I Cannot carry on with my develpment until I sort this out. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Complicated stored procedure
    ... We permit the users to exec stored procedure without any parameters. ... Print the dynamic sql to see where is the problem, i guess you have to add ... > Incorrect syntax near the keyword 'AND' ...
    (microsoft.public.sqlserver.programming)
  • SQL 2k and autonumbering
    ... I have an Access 2k3 Database I am moving to SQL 2k. ... autonumbering property to generate a "Record Number" for work to be preformed ... Record" button on the entry form was pressed a new record was started and the ...
    (microsoft.public.sqlserver.server)
  • Re: Date Columns
    ... That depends on your business requirements. ... these to be audit columns and to not permit null. ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.programming)
  • datediff
    ... But SQL does not permit to use subqueries in the context. ...
    (microsoft.public.sqlserver.programming)