Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open general field
Message
From
19/11/2009 04:59:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Open general field
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01435533
Message ID:
01435533
Views:
109
hi all,

any help to open general field as below
LPARAMETERS nColIndex
 *lcNew=(mytable.fieldname)&&error Operation is invalid for a General field 
 *lcNew=(mycur.fieldname)  &&error Operation is invalid for a General field 
 ? lcNew

IF NOT EMPTY(SYS(2000,m.lcNew))
   declare long ShellExecute in "shell32.dll" ;
           long hwnd, string lpszOp, ;
           string lpszFile, string lpszParams, ;
           string lpszDir, long nShowCmd
   ShellExecute(0,'Open', m.lcNew, 0,0,1)
ELSE
   MESSAGEBOX("EMPTY")
ENDIF
thanks
Next
Reply
Map
View

Click here to load this message in the networking platform