Solved

oncurrent event not firing for unbound forms

Posted on 2014-03-19
5
435 Views
Last Modified: 2014-03-25
hey guys,

i tested this myself and read a bit on this on google and sorry if this is superfluous but is it true in all cases that unbound forms won't fire an oncurrent event after the first opening of the form? thanks guys!
0
Comment
Question by:developingprogrammer
  • 2
  • 2
5 Comments
 
LVL 50

Accepted Solution

by:
Gustav Brock earned 200 total points
ID: 39941625
Yes. There is no other "record" to make current.

/gustav
0
 
LVL 24

Assisted Solution

by:Bitsqueezer
Bitsqueezer earned 300 total points
ID: 39947282
Hi,

and the question would also be: Why would you need a current event when you do not have a record to display or change between different records...? ;-)

If it is an unbound form you could create your own events whenever your code loads data into the unbound fields if you want to report that to other code without knowing the other code (didn't you learn ANYTHING about events in the meantime?...;-p)

Cheers,

Christian
0
 

Author Comment

by:developingprogrammer
ID: 39949518
hi gustav! thanks for your help! it totally makes sense that there is no other record to make it "current" = )

hi Christian! i guess i mixed up on focus with on current in the heat of the moment haha, and yes, i HAVE learnt about events in Access!! haha, just that i want to use the most efficient tools for the job so that as a developer i can spend more time doing what our clients want and be cost effective = ) a sage developer taught me that awhile ago = P (i'm still waiting for the mega cost effective opportunity to use events extensively though haha, i guess when the programme becomes more intricate!)
0
 
LVL 24

Expert Comment

by:Bitsqueezer
ID: 39949648
Hi,

in this case, why do you use an unbound form? Access supports you best if you use bound forms, as much that mostly even no code is needed. The most cost efficient way to program is to avoid programming...;-)

Cheers,

Christian
0
 

Author Comment

by:developingprogrammer
ID: 39952653
hrmm... you are right Christian. i think the reason why i use unbound forms is because from the start (way back) i didn't have the right mindset of using Access well enough and that led me down the track of doing a lot of programming. this is definitely not the way to go - in the sense i must programme very well but only where needed - or rather, like what you said - programme by not programming = )

give me a little bit more time to improve my skills so i will become a better programmer! = )
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question