473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Form_Current

I have a project with VBA and i want to re-write it with VB 2003 but i can't
find the equivalent of event "Current" (Form_Current -- vba) in VB 2003.

Can anyone help me please.

Many thanks.
Feb 7 '08 #1
2 3112
"TrueColors" <cy*********@yahoo.frschrieb:
>I have a project with VBA and i want to re-write it with VB 2003 but i
can't find the equivalent of event "Current" (Form_Current -- vba) in VB
2003.
Which object are you referring to? Excel VBA's UserForm doesn't have a
'Current' event, for example. In addition, when is this event raised?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Feb 7 '08 #2
If you are using Access, then the Form_Current event is fired each time a new
record is loaded into the form's fields (as a response to the user navigating
through the data).

VB 2003 is not going to have a directly equivalent event. You could create a
sub that accomplishes what you want to happen and then call that sub from
each control which somehow navigates through the data.

Without a more specific description of what you are trying to accomplish,
that's the best advice I can give.

"TrueColors" wrote:
I have a project with VBA and i want to re-write it with VB 2003 but i can't
find the equivalent of event "Current" (Form_Current -- vba) in VB 2003.

Can anyone help me please.

Many thanks.
Feb 7 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Henry | last post by:
Hi Is there any good ideas how to update form vb code always after some values are changed / added by vb (not user). I have some code behind subforms vb and there are calculations behind...
1
by: L.H. | last post by:
I'm having an issue with my "Single Form". There is a vertical scrollbar that is used to view all fields on the form. During the Form_Current procedure, I perform some checks of values and based...
1
by: Sri | last post by:
When I try to set a value to a bound control in the Form_current event, Access crashes and tries to create a report to Microsoft. If I comment out this code, it works fine. Any help would be great....
15
by: Susan Bricker | last post by:
Greetings. I have a Mainform with a subform. The Mainform has single record format and subform has continuous form format. When the Mainform opens, I force allowadditions and allowedits to FALSE...
2
by: Steve Richfie1d | last post by:
In Access 97, in the Form_Current routine of a form, I call another routine that repopulates and recomputes everything. However, a SQL Select statement that I initiate from DAO that refers to a...
3
by: Jim Devenish | last post by:
The current event of a continuous form is: Private Sub Form_Current() If IsNull(me.QuoteNumber) Then Me.quoteLetterButton.Caption = "Create quote letter" Else Me.quoteLetterButton.Caption =...
2
by: Bob Darlington | last post by:
When I run the following code from a continuous form's Current event: Set ctrl = Me.ActiveControl I get an error 2474 - 'The expression you entered requires the control to be in the active...
7
by: pctron | last post by:
Hi There, I am using Access 2003 on Windows XP. I cannot execute this code in any of the form's Open, Load, Activate, Current event. It gives me the folowing error: The setting you entered...
5
by: questionit | last post by:
Hi I am finding it difficult to use Form_Current() event of a subform. It gets called automatically. I changed the tab order so that the Sub Form with Form_Current() event came first or in the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.