Why won't this work? 
Author Message
 Why won't this work?

Hi,

Posted this in formscoding previously...run nt wks at home..wrote code at
work on 98...didn't work at home...tested at work this am...

the following code works perfectly in win95/98..but won't  on nt workstation
sp5 or 6....

in the code below I (on ntwks) returns 0, t returns count of controls on
form

********Start************

Dim frm As Form
Dim i As Integer
Dim t As Integer

DoCmd.OpenForm "frmUserSurveySub", acDesign
Set frm = Screen.ActiveForm

i = frm.Section(0).Controls.Count
MsgBox i
t = frm.Count
MsgBox t

***********End**********

Thanks in advance,

Bud Dean



Mon, 03 Jun 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Why won't this work?

2. Q: Why won't this work

3. Why won't INSTR() work!!???

4. Why won't AllowZeroLength work?

5. Why won't this work?

6. Why won't this work

7. Why won't this work?

8. Why won't this work right

9. Why won't this work?

10. Why won't this work?

11. Why won't this work?

12. bookmarks(why won't this work?)

 

 
Powered by phpBB® Forum Software