|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
working with access!!plz help
i am working on an application using VB 6.0..
i faced a problem while i am trying to get a data from the database it keeps giving me an error that the item isn't found..although i am sure of the field name in the table. here is my code. the field name is called UserID... The code is as following: Set dbMyDB = OpenDatabase("C:\Documents and Settings\Dalal\My Documents\IT_printers\IT_Printer.mdb") Set rsMyRS = dbMyDB.OpenRecordset("Users", dbOpenDynaset) If Not rsMyRS.EOF Then rsMyRS.MoveFirst Do While Not rsMyRS.EOF staffcombo.AddItem rsMyRS!UserID ''staffcombo.ItemData(staffcombo.NewIndex) = rsMyRS!ID rsMyRS.MoveNext Loop i have a combo box that i want to put in the user id as the form loaded.. Thanx for ur help...i really appreciate it And if there is another way to connect with the data base and select the needed informatiom I'll will be thankful if u gave it to me.. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > working with access!!plz help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|