VB Form not running like Access Form 
Author Message
 VB Form not running like Access Form
I have a number of code events on my Access 7 form (ie On Current do this,
After Update do that) I have copied this code to a visual basic form amd
copied the controls exactly. To my horror the form within VB has no events
like On Current or After Update, so I'm stuck as to what procedures I should
use to call the Code from. The form event has the usual like OnLoad,
OnFocus, OnClose but no OnCurrent like the Access Froms. Am I missing a
reference? What can I do

J



Sun, 30 Dec 2001 03:00:00 GMT
 VB Form not running like Access Form

The AfterUpdate and Oncurrent events are not a form events in VB but a data
control events. There are several of them including the RecordChangeComplete
event and the MoveComplete event.


Quote:
> I have a number of code events on my Access 7 form (ie On Current do this,
> After Update do that) I have copied this code to a visual basic form amd
> copied the controls exactly. To my horror the form within VB has no events
> like On Current or After Update, so I'm stuck as to what procedures I
should
> use to call the Code from. The form event has the usual like OnLoad,
> OnFocus, OnClose but no OnCurrent like the Access Froms. Am I missing a
> reference? What can I do



Sun, 30 Dec 2001 03:00:00 GMT
 VB Form not running like Access Form
Jerry

As you have discovered, VB forms have little resmeblence to Access forms.
Data properties ar intrinsic to Access forms, but VB forms have no data
properties.  If you use a data control on the VB forms, some of the Access
form properties are replicated (with different names) but not all.
Converting an Access app to a VB app usually requires extensive work.

Jim

Quote:

>I have a number of code events on my Access 7 form (ie On Current do this,
>After Update do that) I have copied this code to a visual basic form amd
>copied the controls exactly. To my horror the form within VB has no events
>like On Current or After Update, so I'm stuck as to what procedures I
should
>use to call the Code from. The form event has the usual like OnLoad,
>OnFocus, OnClose but no OnCurrent like the Access Froms. Am I missing a
>reference? What can I do

>J



Mon, 31 Dec 2001 03:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. Converting Access Forms to VB Forms

2. Convert from Access forms to VB forms.

3. Converting Access forms to VB forms

4. Turning Access forms into VB forms--HELP!!

5. Converting MS Access forms to VB forms

6. Controlling events on an Access Form from a VB form

7. VB forms to Access forms converter?

8. Convert an Microsoft Access Form to a VB Form

9. VB Forms and Access 97 forms

10. Outlook liked form design

11. making a mdi form a form during run time with click event


 
Powered by phpBB® Forum Software