Hi,
I want to set the recordsource of a subform to a query with this
syntax :
Forms!Form_pati ent!sub75.form. recordsource="M yQueryName"
the problem is after typing sub75. I get a list of possilities, but
after form. I don't.. I know nothing about access, so can anybody help
me?
Greetzzz 3 5563
See inline comments:
"Annelies" <an************ **@hotmail.com> wrote in message
news:c7******** *************** ***@posting.goo gle.com... Hi, I want to set the recordsource of a subform to a query with this syntax : Forms!Form_pati ent!sub75.form. recordsource="M yQueryName"
Nothing obviously wrong with that - but error 2467 would suggest that
Form_patient is either closed or doesn't exist. Where have you placed this
code?
the problem is after typing sub75. I get a list of possilities, but after form.
This is standard behaviour
Fletcher
"Fletcher Arnold" <fl****@home.co m> wrote in message news:<bl******* ***@hercules.bt internet.com>.. . See inline comments:
"Annelies" <an************ **@hotmail.com> wrote in message news:c7******** *************** ***@posting.goo gle.com... Hi, I want to set the recordsource of a subform to a query with this syntax : Forms!Form_pati ent!sub75.form. recordsource="M yQueryName" Nothing obviously wrong with that - but error 2467 would suggest that Form_patient is either closed or doesn't exist. Where have you placed this code?
the problem is after typing sub75. I get a list of possilities, but after form.
This is standard behaviour
I tried it in 2 ways:
Forms!Form_pati ent!sub75.form. recordsource="M yQueryName"
in another module
and Form_patient!su b75.form.record source="MyQuery Name"
in another form.
But if Form_patient would not exist, Forms!Form_pati ent!sub75.
wouldn't give a list, or am I wrong. Either way, the form isn't
closed, it's just not the active form, it is underneath another one. Fletcher an************* *@hotmail.com (Annelies) wrote in message news:<c7******* *************** ****@posting.go ogle.com>... "Fletcher Arnold" <fl****@home.co m> wrote in message news:<bl******* ***@hercules.bt internet.com>.. . See inline comments:
"Annelies" <an************ **@hotmail.com> wrote in message news:c7******** *************** ***@posting.goo gle.com... Hi, I want to set the recordsource of a subform to a query with this syntax : Forms!Form_pati ent!sub75.form. recordsource="M yQueryName"
Nothing obviously wrong with that - but error 2467 would suggest that Form_patient is either closed or doesn't exist. Where have you placed this code?
the problem is after typing sub75. I get a list of possilities, but after form.
This is standard behaviour
I tried it in 2 ways: Forms!Form_pati ent!sub75.form. recordsource="M yQueryName" in another module and Form_patient!su b75.form.record source="MyQuery Name" in another form. But if Form_patient would not exist, Forms!Form_pati ent!sub75. wouldn't give a list, or am I wrong. Either way, the form isn't closed, it's just not the active form, it is underneath another one. Fletcher
I partially solved the problem myself.. I had to set the subform's
source to a random query so it had a recordsource..
Now I have error 2455... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stijn Goris |
last post by:
I get an error when trying to insert a new row:
query error- 5 - Duplicate entry '80.200.213.102 Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.1; Avant Browser ; MyIE2; .NET CLR
1.0.' for key 1
The table consist of timestamp, file, level, ip, naam , ID
Where ID is an autoincrement, unique key.
Someone has an idea what going wrong?
|
by: Jim Hatfield |
last post by:
I'm using: "select min(objid) from table_name where objid > $objid"
to select the next row in a sequence where there may be gaps. It
works fine unless the where clause results in an empty set.
From the command line, a value is *always* returned, which is NULL
when the set of rows selected by the where clause is empty. I wasn't
sure what I expected mysql_query to return. I didn't expect a FALSE
result, since the query is syntactically...
|
by: ColinWard |
last post by:
Hi. I have a contacts form with an unbound dropdown box and a bunch of
bound controls relating to the contact. When I load the form, I want all
the controls to be empty until I select a name from the dropdown. this
works except that as expected, all the bound controls have #Name? in
them when the form loads until I select a name. the controls are then
bound and the record displays properly.
How I can do this without getting the #Name?...
|
by: Dalan |
last post by:
I can't seem to find a workaround of Query Syntax Error. Actually, the
query performs just fine, except when the last record on a related
subform is deleted, then it generates a Runtime Error 3075 - Syntax
error (missing operator) in query expression 'IDRef = '-- of course,
because there are no more records left with the same IDRef number. And
Set rst = dbs.OpenRecordset(strSQL) is highlighted in the Function
module.
The Function module...
|
by: Glenn Davy |
last post by:
Hi all
I'm using access 2003 against sqlserver 2000sp3 and I need to export a
'query' to a csv file. The problem I'm having is getting TransferText to
see the query. I've tried views, stored procedures and functions on the
server, but TransferText, from either vba or a macro, Will claim it cant
see any item I use except for tables.
Can someone tell me, if what I'm doing is possible, or what I might be
overlooking (like a naming...
| |
by: Jean |
last post by:
Hello everyone,
I was having the following problem with a query, and after failing to
find a similar solution
on these newsgroups I decided to post here. I am quite new to Access,
so would appreciate any help/pointers in the right direction.
The problem is that I keep getting the error to the likes of "Data
types in the criterion expression are incompatible" when the query
runs.
|
by: jallegue |
last post by:
I am working with MS-Access 2002. The two tables that I am working with
are:
dbo_IDX_FRS_account_bal_by_month ==> this is a linked table to SQL
== local table
The query that is executed is
=============================
UPDATE dbo_IDX_FRS_account_bal_by_month INNER JOIN ON (dbo_IDX_FRS_account_bal_by_month.account = .account) AND (dbo_IDX_FRS_account_bal_by_month.acct_control =
|
by: franc sutherland |
last post by:
Hello,
I am using Access 2003. I am having trouble trapping the "can't
append all the records in the append query" error message when
appending data to a query from a table which is linked to an excel
spreadsheet.
There are two tables. One is a list of general contacts, and the
other is a list of clubs. The clubs contain members who are within
the contacts table. When I add a list of new club members from the
|
by: kbbauman |
last post by:
Hi,
I was wondering if anyone could possibly help me wih this issue. I have an access database. In this database I have a massive table that I have created a query off of in order to be able to edit the data because the actual data is write protected.
I am trying to search for certain dates in the table that have been input ex. from m/d/yyyy to m/d/yyyy. I would like to run a query that would filter the results for me.
My basic...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
| |