Hi
I know how to implement Continous form. In the method i have tried, the source for data on the continous form comes from table using SQL query
Now, i want to try something different and i need your help.
With the same continous form, i want the source for the data to be a simple piece of code that returns names of files in the folder.
I have completed working code for getting file names in the folder:
[code=vb]
Dim fs
Set fs = Application.Fil eSearch
With fs
.LookIn = "c:\abc"
.FileName = "*.doc"
.searchsubfolde rs = False
fs.Execute
For j = 1 To .Foundfiles.Cou nt
MsgBox .Foundfiles(j)
' --------- Me.subf.Form.Re cordSource = .Foundfiles(j) -- how to do this thing? ---
Next j
End With
[/code]
There is no problem with that. Now please help me in displaying the result of the above code (returned using .FoundFiles(j) )
on the continous form.. How to go about doing this?
Awaiting your responce
Thanks
qi
I know how to implement Continous form. In the method i have tried, the source for data on the continous form comes from table using SQL query
Now, i want to try something different and i need your help.
With the same continous form, i want the source for the data to be a simple piece of code that returns names of files in the folder.
I have completed working code for getting file names in the folder:
[code=vb]
Dim fs
Set fs = Application.Fil eSearch
With fs
.LookIn = "c:\abc"
.FileName = "*.doc"
.searchsubfolde rs = False
fs.Execute
For j = 1 To .Foundfiles.Cou nt
MsgBox .Foundfiles(j)
' --------- Me.subf.Form.Re cordSource = .Foundfiles(j) -- how to do this thing? ---
Next j
End With
[/code]
There is no problem with that. Now please help me in displaying the result of the above code (returned using .FoundFiles(j) )
on the continous form.. How to go about doing this?
Awaiting your responce
Thanks
qi
Comment