473,387 Members | 1,504 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,387 software developers and data experts.

Cannot update Subform after converting to an SQL backend.

Hi, Hope you can help?

Senario: I have an access frontend and backend database. All is
working fine when using MS Access for both.
Problem: I have created a backend SQL database in preparation to
replace the Access backend database. After I link (via ODBC) to the
new SQL tables one of my subforms no longer allows me to add records.
For example, the main form stores equipment. I have a subform
(datasheet) that allows me to assign stock used for that peice of
equipment. 3 Tables manage the assignments:
Equipment_Table
Stock_Table
StockAssignments_Table
The Subform(database) uses the StockAssignments_Table to record the
stock I am allocating to the equipment. I can see no errors or
warnings on the status bar so I am at a total loss as to why this
will
not work anymore using a SQL backend. I have checked the data types
on
the SQL tables and everything looks ok.
Have anyone seen this before?

May 18 '07 #1
1 1991
On 18 May 2007 03:02:36 -0700, Lynx101 <ma**********@gmail.comwrote:

Ensure the SQL database has a primary key on each table.
-Tom.
>Hi, Hope you can help?

Senario: I have an access frontend and backend database. All is
working fine when using MS Access for both.
Problem: I have created a backend SQL database in preparation to
replace the Access backend database. After I link (via ODBC) to the
new SQL tables one of my subforms no longer allows me to add records.
For example, the main form stores equipment. I have a subform
(datasheet) that allows me to assign stock used for that peice of
equipment. 3 Tables manage the assignments:
Equipment_Table
Stock_Table
StockAssignments_Table
The Subform(database) uses the StockAssignments_Table to record the
stock I am allocating to the equipment. I can see no errors or
warnings on the status bar so I am at a total loss as to why this
will
not work anymore using a SQL backend. I have checked the data types
on
the SQL tables and everything looks ok.
Have anyone seen this before?
May 18 '07 #2

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

Similar topics

1
by: Kunal | last post by:
Hi, I need some help on writing an update query to update "UnitsSold" field in Products Table whenever I save a transaction. The transaction may contain several "Subtransactions", one for each...
2
by: Paul | last post by:
wondered if anyone might lend a hand? I'm having a little difficulty updating the backend SQL Server tables. Normally I just use Access' update but I'd really like to try something new. I'd like...
1
by: Darn | last post by:
Hi all How do i solve this problem. I'm web developer from Malaysia, the problem occurs when i ftp an Access database which i'm using for this particular web site for it's database.The form...
2
by: Rosy | last post by:
I have a sub-form(company name & address) that is connected to my contact listing. When I change the contact, it doesn't update the subform until I close the main form or refresh. Is there a way...
4
by: Ryan | last post by:
I've got a little bit of code that runs when you enter data in a datasheet view (which is a subform of the form you are in) if rst!DateReceived >= 30 Then Forms!DisposalRecords.Label90.Caption =...
0
by: robert.waters | last post by:
Hello, Say that there is a database for client information; there is a main form that displays the client's name, and this form has one or more subforms that display different types of...
2
by: Ron | last post by:
Hi All, Okay, I've got a frmOrders with a subform of sfrmDetails. A frmClient has all the client info, plus a subform of sfrmDefaults that has the client's normal ordering defaults (like set...
1
by: Lynx101 | last post by:
Hi, Hope you can help? Senario: I have an access frontend and backend database. All is working fine when using MS Access for both. Problem: I have created a backend SQL database in preparation...
0
by: skips84s | last post by:
I have a parent form with four tabbed subforms. On subform x, selecting a value from a combo box should update a few controls on this subform, as well as a control on subform y, all done using...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
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 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.