I'm running Access 97 and have a sub-form within a main form. The subform
allows data entry by the user. Now, I would also like to enter a row from a
macro, but when I try, the entry always goes into the first row even if
there has been a user entry there. Any suggestions on how I can do this?
Thanks. 4 2376
Before entring a row from your macro, programatically send the subform to a
new record.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications re******@pcdata sheet.com www.pcdatasheet.com
"Bob" <Bo*******@att. net> wrote in message
news:Zt******** ************@co mcast.com... I'm running Access 97 and have a sub-form within a main form. The subform allows data entry by the user. Now, I would also like to enter a row from a macro, but when I try, the entry always goes into the first row even if there has been a user entry there. Any suggestions on how I can do this? Thanks.
Thanks for your advice. Do I have to go to Basic to do this? When I try to
do it from a Macro, I get the message that the subform is not open.
"PC Datasheet" <no****@nospam. spam> wrote in message
news:OL******** ******@newsread 3.news.atl.eart hlink.net... Before entring a row from your macro, programatically send the subform to a new record.
-- PC Datasheet Your Resource For Help With Access, Excel And Word Applications re******@pcdata sheet.com www.pcdatasheet.com
"Bob" <Bo*******@att. net> wrote in message news:Zt******** ************@co mcast.com... I'm running Access 97 and have a sub-form within a main form. The subform allows data entry by the user. Now, I would also like to enter a row from a macro, but when I try, the entry always goes into the first row even if there has been a user entry there. Any suggestions on how I can do this? Thanks.
You have to do it at the front of the macro you are trying to use to enter a
row of data; not a separate macro.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications re******@pcdata sheet.com www.pcdatasheet.com
"Bob" <Bo*******@att. net> wrote in message
news:eM******** ************@co mcast.com... Thanks for your advice. Do I have to go to Basic to do this? When I try to do it from a Macro, I get the message that the subform is not open. "PC Datasheet" <no****@nospam. spam> wrote in message news:OL******** ******@newsread 3.news.atl.eart hlink.net... Before entring a row from your macro, programatically send the subform to a new record.
-- PC Datasheet Your Resource For Help With Access, Excel And Word Applications re******@pcdata sheet.com www.pcdatasheet.com
"Bob" <Bo*******@att. net> wrote in message news:Zt******** ************@co mcast.com... I'm running Access 97 and have a sub-form within a main form. The subform allows data entry by the user. Now, I would also like to enter a row from a macro, but when I try, the entry always goes into the first row even if there has been a user entry there. Any suggestions on how I can do this? Thanks.
Thanks for your response.
I do have it in the same Macro. I'm tried both the following notations to
address the subform:
Forms![MainForm]![SubformControlN ame]
Forms![MainForm]![SubformControlN ame].Form
and both give me the message form not open. Is my notation wrong? I'm
using the object type Form in the Go To Record command. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: MHenry |
last post by:
Hi,
I know virtually nothing about creating Macros in Access.
I would appreciate some help in creating a Macro or Macros that
automatically run(s) 14 Queries (three Make Table Queries, and 11
Append Queries) when the Database is first opened, and then again
anytime I invoke the Macro (somehow) after the database is already
open. The latter function is useful, because the queries must be rerun
every time data is added, deleted, or...
|
by: Rob R. Ainscough |
last post by:
I'm trying to create a new macro and there doesn't appear to be any way to
do this??
The help info says select Tools | Macro ... but Macro is not listed on my
Tools menu?
Any suggestions?
Rob.
|
by: sram |
last post by:
Hi,
Problem statement: We have some amount of data stored in various excel
sheets and we generate a few reports from these data. We are in the
process of consolidating all data to reside in a single repository.
Currently, it is semi-automated i.e. we are using MS Excel for data
entry, consolidation and report generation (i.e. using formulas). We
require a tool that will provide:
a) A web-based interface for data entry (i.e. remote,
|
by: SRAM |
last post by:
Hi,
Problem statement: We have some amount of data stored in various excel
sheets and we generate a few reports from these data. We are in the
process of consolidating all data to reside in a single repository.
Currently, it is semi-automated i.e. we are using MS Excel for data
entry, consolidation and report generation (i.e. using formulas). We
require a tool that will provide:
a) A web-based interface for data entry (i.e. remote,
|
by: grumpyone |
last post by:
I'm looking for a method to enter and retain a start date and end date for use with a macro that runs 11 month-end reports that each require the same start date and end date.
FYI- currently, the macro runs and requires entry for start and end dates for each report as it opens. Where no data is available, the macro informs of no data, requires acknowledgement, then proceeds to the next report.
| |
by: Bill |
last post by:
This database has no forms. I am viewing an Access table in datasheet
view. I'd like to execute a macro to execute a function (using
"runcode"). In the function, I'll reading data from the record the
cursor was on in the datasheet at the time I executed the macro.
So, the questions are: 1) In the macro, how to I get my hands on the
record key or record data of the record the cursor was on in the
datasheet at the time I executed the...
|
by: ashok0866 |
last post by:
I had created a macro to read data from an excel sheet and write the
values to a text file. I had used "ActiveSheet.Range("GB" & k).Value"
command to read the values from the excel.
The issue is: some cells in the excel sheet is having two lines value
and four lines data, the text file is generating that value in a
single line. (Ex. the cell value in address column is in four lines
and should display in four lines in the text file...
|
by: dillneus |
last post by:
hey
I am quite beginner in Access. I have a problem with data entry form.
In a form I want to put one question which will allow mulitple answer. I want to store this anwers in one column.
For example: i want to store the record that tell me that the article was about politics and sport. In the table I have the column: Information type. I want to record this both (politic and sport) elements into one column (information type). How can I...
|
by: todWulff |
last post by:
Good day folks.
Let me open with the statement that I am not a C++/C programmer. The environment that I am programming in is ARMbasic, an embedded BASIC targeted toward ARM-based micro-controllers. So why am I posting herein? Well, the ARMbasic environment makes use of a tool borrowed from your folk's environment - CPP. The build details are:
C:\Program Files\Coridium>cpp --version
cpp (GCC) 3.2.3 (mingw special 20030504-1)
Copyright...
|
by: Spin |
last post by:
Hi,
I am trying to setup a macro that emails out a spreadsheet when activated. When I activate the macro it stops to give me a decision block if I want to send out the email "Yes", "No" or "Cancel". I just want to have it autoamtically send out this email with the spreadsheet with no decsion block. I tried to use a Sendkeys macro command with the keystroke commands that tabs to the "Yes" button for entry and it just sits there waiting. Below...
|
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: 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: 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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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...
| |