Sub Main

by Linda Quinn

Close Window


Public Sub Main()
Dim boolDataOpen As Boolean
Dim strname As String
Dim frmname As String

frmname = "frmProductList"

Screen.MousePointer = vbHourglass
boolDataOpen = modADO.DataOpen()

If boolDataOpen Then
LoadFormByName frmname
Else
MsgBox "Connection to Database failed."
End If

Screen.MousePointer - vbDefault

End Sub

View the code for DataOpen()
View the code for LoadFormByName()






=================================================================
This content was created by Linda Quinn of LQNet.

See http://www.lqnet.com for a great collection of articles on this and other topics.

=================================================================
Copyright © 2006-2008, LQ Systems,Inc. All rights reserved.


====================================================================
Want an expert to help with your project?    LQ Systems, Inc.   Business Solutions
====================================================================