TeneQuodBene
New member
- Local time
- Today, 21:26
- Joined
- Nov 20, 2003
- Messages
- 9
Hi,
I'm making a database for used cars...
Example : I've got 15 records with used car information. One of the fields contains path information to a file on my harddrive with a picture of the car (eg: record1 = c:\vwgolf.jpg; record2 = d:\cars\opel.jpg; etc..). What I want to do now is create a button that loops from start of the recordset till the last record and does a filecopy of the photopath field... to a specified directory where I bundle my webimages before publication.
I know it can be managed manually but I want to keep it as simple as possible for the user.
I'm not familiar with VBA, but I help myself with some paste and copy and some logic thinking...
This is what I want to perform (It's not VBA, but this way it's easier to understand than my description above):
Procedure start :
Record = 1
Do While Record Not EOF
Filecopy (Record.Photopaht, "d:\web\images\")
Record = Record + 1
Loop
End Procedure
I'm making a database for used cars...
Example : I've got 15 records with used car information. One of the fields contains path information to a file on my harddrive with a picture of the car (eg: record1 = c:\vwgolf.jpg; record2 = d:\cars\opel.jpg; etc..). What I want to do now is create a button that loops from start of the recordset till the last record and does a filecopy of the photopath field... to a specified directory where I bundle my webimages before publication.
I know it can be managed manually but I want to keep it as simple as possible for the user.
I'm not familiar with VBA, but I help myself with some paste and copy and some logic thinking...
This is what I want to perform (It's not VBA, but this way it's easier to understand than my description above):
Procedure start :
Record = 1
Do While Record Not EOF
Filecopy (Record.Photopaht, "d:\web\images\")
Record = Record + 1
Loop
End Procedure