Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FIle does not exist error when opening a view
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
FIle does not exist error when opening a view
Miscellaneous
Thread ID:
00657693
Message ID:
00657693
Views:
43
I have two forms (form1 and form2). Form1 passes a parameter to form2 which contains the view name. The views are also parametized. so I do the following:
*form1
do form2 with hldid, lcdate, 'lv_offopt6'
&&lcdate is date parameter for lv_offopt6 view and hldid is record id
when I go to form2 I have the following in the init:
*form2
parameter hldid, p1, p2
USE (p2) ALIAS tbl_view ORDER op_uniqueid
	lcdate = (p1)	&& value contains other value
	REQUERY(tbl_view)
	seekval = INT(hldid)
	SEEK(seekval)
	.refresh()
When I run the code, it thinks that p2 is a dbf file when it is actually a view that I am trying open. It gives me the following error
File 'e:\budget2002\lv_offopt6.dbf' does not exist
I'm on the right track here, what is it that I am doing wrong?
Thanks
Nick Patel
Next
Reply
Map
View

Click here to load this message in the networking platform