Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Correct Path command in report Ole control
Message
From
12/05/2004 17:05:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Correct Path command in report Ole control
Miscellaneous
Thread ID:
00903375
Message ID:
00903375
Views:
45
Hi All,

I need to capture each employee’s picture and generate a report. So I created a report with ole bound control and try to get the picture from the correct location. No matter how I give the expression (under ole, file option), I get an error message saying “Invalid Path “


This is how it goes

- All Employee names are stored in Employee.dbf and it’s open in report data environment
- All Employee pictures are located in V:\EmpPictures folder
- Each employees picture is named after EmpNo coming from Employee.dbf .
- I have created a variable in the report to get the EmpNo and create the file name.
lcFileName = [emplyee.EmpNo]+”.jpg”

HOW am I to give the correct path in ole control to capture the picture ???????

Please HELP !!!!

TIA

- Jeana -
Next
Reply
Map
View

Click here to load this message in the networking platform