473,386 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Access 97 Mystery New Record

Hello,

I would appreciate any advice or help with a number of bugs I have in
Access 97 front end/SQL 2000 database.

Just a little background information to get started. I have just
converted using the MS Upsize wizard an Access 97 database to SQL 2000.
Nearly everything seems to be working, however there are a number of
bugs still to be resolved.

When a Business form is loaded to create a new business record another
sub form Owner is also loaded but is at first blank. Then as soon as
the first (any?) field in this sub form is clicked on and any character
typed the BusinessID is shown at the top of the Owner form. Then if I
close the Business form down and check the database tables I find that
a table linking the Business and Owner tables (e.g. BusinessRel) has a
new record.

(1) My first questions is how does this new record get automatically
created? I have checked the code for both Business and Owner forms and
cannot find any Insert statements. The only other information that my
be relevant is there is a cascading update relationship between the
Business and Owner tables. However, I thought that this would only keep
existing records updated not create new ones!

(2) The second question is - how could the Upsize process have stopped
this working?

I appreciate your time and help in answering these questions.

Kind regards

Terry

Nov 13 '05 #1
3 1662
"Terry" <Te***@supradata.net> wrote in
news:11**********************@l41g2000cwc.googlegr oups.com:
Hello,

I would appreciate any advice or help with a number of bugs I
have in Access 97 front end/SQL 2000 database.

Just a little background information to get started. I have
just converted using the MS Upsize wizard an Access 97
database to SQL 2000. Nearly everything seems to be working,
however there are a number of bugs still to be resolved.

When a Business form is loaded to create a new business record
another sub form Owner is also loaded but is at first blank.
Then as soon as the first (any?) field in this sub form is
clicked on and any character typed the BusinessID is shown at
the top of the Owner form. Then if I close the Business form
down and check the database tables I find that a table linking
the Business and Owner tables (e.g. BusinessRel) has a new
record.

(1) My first questions is how does this new record get
automatically created? I have checked the code for both
Business and Owner forms and cannot find any Insert
statements. The only other information that my be relevant is
there is a cascading update relationship between the Business
and Owner tables. However, I thought that this would only keep
existing records updated not create new ones!

(2) The second question is - how could the Upsize process have
stopped this working?

I appreciate your time and help in answering these questions.

Kind regards

Terry

Answer (1) the subform control creates the necessary records
internally. You cannot see the insert statement because it is
internal to the subform control on your form.

Answer (2), I don't know, but you can check that the parent-child
links in the subform control survived the migration correctly.
--
Bob Quintal

PA is y I've altered my email address.
Nov 13 '05 #2
Hello,

Thanks very much Bob for the answers to my questions. I can easily
access the controls on the form or subform using the design option.
However, how do I get to the internal controls within Access? Also, how
can I check the parent child links within Access on my upsized
database?

Thanks very much for your help.

Kind regards

Terry

Nov 13 '05 #3
"Terry" <Te***@supradata.net> wrote in
news:11*********************@l41g2000cwc.googlegro ups.com:
Hello,

Thanks very much Bob for the answers to my questions. I can
easily access the controls on the form or subform using the
design option. However, how do I get to the internal controls
within Access? Also, how can I check the parent child links
within Access on my upsized database?

Thanks very much for your help.

Kind regards

Terry

You can never get to the internal code within Access. It's
precompiled and part of the .exe or a .dll

You can check the parent link fields and child link fields
properties of the subform control.

If you need to check the relationships in the MDSE database, you
will need to use some tool for SQL Server, which is beyond the
scope of this newsgroup.

--
Bob Quintal

PA is y I've altered my email address.
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jim Geissman | last post by:
I have function that returns a table of information about properties. The data comes from three different tables -- addresses (called PropertyID), property characteristics, and events concerning...
6
by: Max | last post by:
Hi, I have SqlServer 2000 as back end and Access 2000 as front-end. All tables from Sqlserver are linked to Access 2000. I am having write conflict problem with one of my form which is bound to...
3
by: Devonish | last post by:
I have a form designed as a Continuous form which displays one record per line. Taking account of the header and footer and the size of the screen, I can display 30 records at a time. I can see...
0
by: shaun palmer | last post by:
When doing certain Data entries in a Database, the statement "you can't go to the specified record "comes up in a message box. Yet in other Data entries using the same procedure, this statement...
0
by: Me | last post by:
Hi all... I have a duly annoying ODBC problem: I make a new, blank Access 2k database, and add a single ODBC link to an MS SQL Server, using a DSN which has full access to the data. If I...
55
by: AnandaSim | last post by:
I just had a google through this NG but have not seen mention of Erik Rucker's blog entry and the new Jet: http://blogs.msdn.com/access/archive/2005/10/05/477549.aspx mentioned by Mike...
20
by: Dennis | last post by:
I have created an access database table in code with the field "KeyId" as a GUID type. What is the SQL syntax for updating a record matching this GUID, i.e., Dim myGUid as New GUID(....) ...
14
by: jojoba | last post by:
Hi, I hope this post is ok for this group. Here's my deal: I have two computers on my LAN at home. One desktop. One laptop. Both computers are wireless enabled (and wired enabled too). I...
0
by: Donn Ingle | last post by:
In an unusual twist of code I have a subclass which overrides a method but it also needs to call the original method: class One: def add (self, stuff): self.stuff.append(stuff) class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
Oralloy
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.