|
by: Gerry Abbott |
last post by:
Hi all
I'm converting a db from Acc97 to 2000. Everything works, except assigning
of a qdf object containing parameters, to a recordset.
The db, recordset, and qrydef objects are all referenced as DAO objects, and
the reference to dao 3.6 is present and working.
The code breaks at the last statement (below) with an 'invalid arguament'
error 3001.
Note that the parameters are both dates.
|
by: Mark |
last post by:
Hi All,
This maybe a really simple question but I need some help. I have been
having problems with security and thanks to the help received from a reply
to an earlier post, I have found a solution. However, this has thrown up a
few other complications. I have the following code where I need the Dlookup
function to run with owner permissions. To be more precise, I have taken
away read permissions on all the tables and all stored query's now...
|
by: Weaver |
last post by:
Supposing I wanted to do something like this:
Set rsB = db.OpenRecordset("qryStuff")
only qryStuff required parameters? How do I pass the parameter values to the query?
Thanks.
|
by: dana1 |
last post by:
Hello Experts!
Does anyone know if there is a way to set the values of query parameters from VBA for a report's recordsource? (i.e., I want to set the values of the parameters and NOT have the user prompted for them).
Based on a Microsoft page (http://support.microsoft.com/kb/287437), I tried the following approach:
Private Sub Report_Open(Cancel As Integer)
Dim sql As String
|
by: billelev |
last post by:
Hi There,
I am trying to execute a query using openRecordset on a query called 'AccountValues'. The 'AccountValues' query relies on another query, 'Prices', which in turn relies on a form for two parameters.
The information flow is:
2 parameters -> Prices -> AccountBalances -> {my query}
Ideally, I would be able to perform the following:
|
|
by: Richard Hollenbeck |
last post by:
I wonder what I'm missing?
I really feel like a retard because I've been screwing with some code for a
very long time. I just must be missing something very simple.
In the following example, I've stripped away everything that doesn't cause
the error to make my question a little simpler.
Here's the problem in its simplest form inside a report:
Dim db As DAO.Database
|
by: QCLee |
last post by:
Sir can you help me to transfer my Access Query to MS excel? i have a
command button on the form to export the parameter query named
"HVACWindwardQuery" to excel spreadsheet and i got the codes from
searching on the internet and books but the problem is when i run the
command button "Export" it just only open the Blank Spreadsheet, no
data at all that it came from my query named "HVACWindwardQuery" and
there's an error on it...
|
by: Kassimu |
last post by:
Hi there,
I have a table with thousands of record entries, usually the user searches this table through SearchForm resulting into some recordset. What I need to do on this recordset is to concatenate the contents of all the records for one field-, and populate the resulting into textbox of a form
Private Sub Form_Load()
Dim db As Database
Dim rstUpdates As Recordset
Set db = CurrentDb
Set rstUpdates = db.OpenRecordset("Daily...
|
by: Andy |
last post by:
Hello all,
I have a user getting an error 438, object doesn't support this prop. or
method, when I run code to setup the treeview control. I'm using the
MSCOMCTRL.OCX, file version: 6.01.9545. In my installer, I'm setting it to
always overwrite, btw. Here's my code, maybe I'm doing something that is not
compatible with a new version of MSCOMCTRL?
If I test with the user's db, all is well on my machine.
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|