I have run into a sudden problem and thought I'd see if anyone else has
ran into this.
Out of nowhere (sort-of) I am not able to access the OnCurrent event on
a subform. I, of course, can write code for the event, but [Event
Procedure] under OnCurrent does not show up on the properties of the
subform, and the event does not fire.
When this problem happened, it seems to have also generated an error
while changing records in the Main Form. The error is "...can't find
the macro ".". At least I think their related...both started at the
same time.
I have never used a macro in my life.
When I say "sort-of" above, the only thing I can think that I may have
done is this: When quickly "ALT-TAB'ing" between my form and the VB
editor, I *think* I accidently deleted the words [Event Procedure] out
of the said OnCurrent event. Although, I'm quite sure I have done this
in the past, and was able to just re-initiate the event, and move on.
Now, when I try to re-initiate the event (by clicking the "..." symbol
next to the event) it brings up the EXPRESSION BUILDER! Not the Choose
Builder request like it should.
I have tried everything short of re-creating the form completely
(compact/repair, export form - c/r
- import form, ext...)
Anybody ever see this? 2 3437
You should be able to just type in [Event Procedure] in the event slot and it
will begin working.
Rational Repairs wrote:
>I have run into a sudden problem and thought I'd see if anyone else has ran into this.
Out of nowhere (sort-of) I am not able to access the OnCurrent event on a subform. I, of course, can write code for the event, but [Event Procedure] under OnCurrent does not show up on the properties of the subform, and the event does not fire.
When this problem happened, it seems to have also generated an error while changing records in the Main Form. The error is "...can't find the macro ".". At least I think their related...both started at the same time.
I have never used a macro in my life.
When I say "sort-of" above, the only thing I can think that I may have done is this: When quickly "ALT-TAB'ing" between my form and the VB editor, I *think* I accidently deleted the words [Event Procedure] out of the said OnCurrent event. Although, I'm quite sure I have done this in the past, and was able to just re-initiate the event, and move on.
Now, when I try to re-initiate the event (by clicking the "..." symbol next to the event) it brings up the EXPRESSION BUILDER! Not the Choose Builder request like it should.
I have tried everything short of re-creating the form completely (compact/repair, export form - c/r - import form, ext...)
Anybody ever see this?
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.
Message posted via AccessMonster.c om http://www.accessmonster.com/Uwe/For...ccess/200611/1
Damn, I wish I would have tried that. I ended up recreating the
sub-form (via copy/paste), and that fixed the problem. Thanks for the
tip though!
Jeff Smeker
On Nov 10, 9:38 am, "ruralguy via AccessMonster.c om" <u12102@uwe>
wrote:
You should be able to just type in [Event Procedure] in the event slot and it
will begin working.
Rational Repairs wrote:
I have run into a sudden problem and thought I'd see if anyone else has
ran into this.
Out of nowhere (sort-of) I am not able to access the OnCurrent event on
a subform. I, of course, can write code for the event, but [Event
Procedure] under OnCurrent does not show up on the properties of the
subform, and the event does not fire.
When this problem happened, it seems to have also generated an error
while changing records in the Main Form. The error is "...can't find
the macro ".". At least I think their related...both started at the
same time.
I have never used a macro in my life.
When I say "sort-of" above, the only thing I can think that I may have
done is this: When quickly "ALT-TAB'ing" between my form and the VB
editor, I *think* I accidently deleted the words [Event Procedure] out
of the said OnCurrent event. Although, I'm quite sure I have done this
in the past, and was able to just re-initiate the event, and move on.
Now, when I try to re-initiate the event (by clicking the "..." symbol
next to the event) it brings up the EXPRESSION BUILDER! Not the Choose
Builder request like it should.
I have tried everything short of re-creating the form completely
(compact/repair, export form - c/r
- import form, ext...)
Anybody ever see this?--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.
Message posted via AccessMonster.c omhttp://www.accessmonst er.com/Uwe/Forums.aspx/databases-ms-access/2006...- Hide quoted text -- Show quoted text -
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Tim Marshall |
last post by:
In A2003, I have a bound continuous form (OK, actually a sub form of an
unbound main form, but I don't think that matters here). The record
source consists of an Jet SQL statement that returns one record per the
entity that I want to display on the form. There is another table, not
included with the form's SQL source that has a one to many relationship
with the table in the form's SQL statement that gives additional
information about one...
|
by: Mark |
last post by:
I have added some VBA code to a form's OnCurrent event,
intending to retrieve information about the record that I am
scrolling _to_. Instead, this code is retrieving information
about the record that I am scrolling _away_ from.
As you might expect, the control to which I am writing
this information is not staying in sync with the other
information on the form.
Suggestions?
|
by: Zheng Da |
last post by:
I wrote a simple one as follow:
typedef struct __myjmp_buf
{
int efp;
int epc;
}myjmp_buf;
int mysetjmp(myjmp_buf env)
{
|
by: Efim |
last post by:
Hi all,
Due to performance issue, I want to pevent execution of ToString() function
in the code like the following:
if(reporting_level & DEBUG_LEVEL)
log(reporting_level,string.Format("Event of type {1} arrived. Event data:
{2}.",event,obj.ToString()));
It is clear that in Format it can be used different parameters and not
always they should use ToString, thus it's problematically to use Object as
|
by: wimvan |
last post by:
Hi,
I'm a nerd in javascript, but, after trying and retrying I'm addressing
me to help.
I have a page with three frames, a top-, a left- and a right-frame. a
kind a title-frmae, a button-frame and an information-frame
(mainframe).
In te button-frame, I show thumbs (images) who refer to an album on the
net. This is working for the moment. So, clicking on a thumb, a
photocollection opens in the mainframe.
Question: Can I have an...
| |
by: Vincent |
last post by:
I keep receiving the above error message in Microsoft Access when I
attempt to click on one of the text boxes on my form. I have done some
searching and came across a couple of posts that stated their may be a
space in one of the event procedure properties of the text box, but I
see nothing. I have even tried backspacing and deleting from each
event procedure that is not being called. I also tried a compact and
repair with no change. ...
|
by: etuncer |
last post by:
Hello All,
I have Access 2003, and am trying to build a database for my small
company. I want to be able to create a word document based on the data
entered through a form. the real question is this: can Access create
the document and place it as an OLE object to the relevant table?
Any help is greatly appreciated.
Ricky
|
by: airdata |
last post by:
Hi
I currently have the following code attached to a command button on a switchboard form. This is basic Access 2000.
Private Sub Print_daily_reports_button_Click()
On Error GoTo NoData
DoCmd.OpenReport "Sales Return (TODAY)", acViewNormal
DoCmd.OpenReport "Sales/Collections (TODAY)", acViewNormal
|
by: TomK |
last post by:
I would like to use the oncurrent event of a subform. The subform class seems to offer onEnter and onExit only, so I tried up to set the event handling routine programatically. It works fine with a macro:
MySubForm.Form.OnCurrent = "MyMacro"
But what about using VBA code? What procedure name does Access expect after having found
MySubForm.Form.OnCurrent = "" ?
MySubForm.Form.Name is "myQuery" so I tried up to define
|
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: 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: 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: 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
|
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...
| |