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

present read-only query within form

HK
Hello,

I am new to access/sql-developement and have the follwing problem:

What I finally want, is to present within a form the results of a query,
that are probably read-only PLUS a field WITHIN each record to store
extra data entered by the user. The problem is, that the query outputs a
read-only dynaset, so that my extra-Field is also - read-only.

I think, I have to define my query to produce read-only data, because I
have to use a "group". Do I? My query has to select all records from
table A an the sum of Field "Amount" of all records from table B that
"correspond" to the ID-Field of table A:

"SELECT Rohstoffe.RohstoffNummer, Sum(Lagerbestandsbewegungen.Menge) AS
[Summe von Menge]
FROM Rohstoffe INNER JOIN Lagerbestandsbewegungen ON
Rohstoffe.RohstoffNr = Lagerbestandsbewegungen.RohstoffNr
GROUP BY Rohstoffe.RohstoffNummer;"

I thought about writing VBA-code around the form, that stores my extra
data in an array that is updated internally. But this would be a rather
difficult solution.

Now I hope, I am talking about a standard-problem and someone out there
knows a standard-solution...

Holger.

Nov 12 '05 #1
0 2481

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

Similar topics

0
by: Kasp | last post by:
Hi there, I am trying to make an OLAP cube on a table having two columns (datetime, Number_of_times_an_event_occured). My dimension is time and I want to measure the Min and Max times an event...
1
by: Koji Ishii | last post by:
I'm trying to read response from a web server using XmlTextReader. Here's a code snippet. WebResponse rs = this.WebRequest.GetResponse(); Stream stm = rs.GetResponseStream(); XmlTextReader...
1
by: ning | last post by:
It's easy to present "One - Many" relationship in XML, but how to present "Many - Many" relationship in XML?
5
by: vsk | last post by:
Hai All, How to read all files present in a directory in C ?. Thanks,
8
by: Helixpoint | last post by:
Dim dr1 As SqlDataReader = MachCodeListID.GetSingleMachCode(thecodesID) ' Read first row from database dr1.Read() If IsDBNull(dr1("CATNUM")) Then '**************** This is where I am getting...
2
by: Matthew Louden | last post by:
I want to read how many records in the table, and insert a record with id field which increment the counter by 1. However, I had the following runtime on Dim s As Integer = CInt(dr("t")). Since "t"...
3
by: divsTiw | last post by:
I want to populate combo box with data from OracleDataReader , but "Invalid attempt to read when no data is present." is thrown. there are two rows returned , then too why such error. plzzz...
9
by: csharpula csharp | last post by:
Hello, I would like to know how can I present updating (on the fly) data in a DataGrid type control. The control will get url as an input and need to present the log changing content in a DataGrid...
5
shrek123
by: shrek123 | last post by:
How to read last to lines of a file present at remote server.
6
by: =?Utf-8?B?ZWdzZGFy?= | last post by:
How can I solve this error: Invalid attempt to read when no data is present. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack...
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:
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?
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.