PurpleUnicorn
Programmer
I have a piece of code from an Access2000 application that populates a list box with all files ending in .txt using the following code:
tempName = Dir("c:\test\*.txt"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Do While tempName <> ""
Me.lstTemp.AddItem (tempName)
tempName = Dir
Loop
I need to do the same thing in an application in Access97 but it seems that additem does not exist. How else can this be done?
Thanks
Nancy
tempName = Dir("c:\test\*.txt"
Do While tempName <> ""
Me.lstTemp.AddItem (tempName)
tempName = Dir
Loop
I need to do the same thing in an application in Access97 but it seems that additem does not exist. How else can this be done?
Thanks
Nancy