Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Outlook
Message
 
To
17/01/2005 17:23:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977879
Message ID:
00977974
Views:
42
If I remember well,
You can create this form using Same Tables as Main (that with Grid).
In Init event of the Main form BINDEVENT() of "DoubleClick" of each Column control to Some Method of The form i.e. ShowOutLook()

this.Method Must look like this:
IF RECCOUNT(thisform.Grid1.RecordSource) == 0 &&7 Empty Table
   RETURN && Nothing to Show
ENDIF
thisform.outForm = NULL
DO FORM MyOutLook NAME thisform.outForm WITH (thisform.Grid1.RecordSource+".IdField") LINKED
In Init Event of the MyOutLook
LPARAMETERS tableId
SELECT MyTable
SEEK tableId

**** Refresh Controls
...
HTH
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform