Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
3 questions - about grid, doubleclick and remote connection
Message
From
14/08/1997 15:28:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
3 questions - about grid, doubleclick and remote connection
Miscellaneous
Thread ID:
00044726
Message ID:
00044726
Views:
97
Hi all, I started using VFP (5.0a) fairly recently and as you may gues I am already facing numerous obstacles. Questions would be the following: 1) In a grid I'm trying to show both fields from parent and child tables. Column containing child table field has a combo-box embedded (sparce of the column is set to .F.). Column's ControlSource property is set to ParentTable.PointerToChildRecord (foreign key in child), combo box ControlSource is set to the same value, combo box RowSource is set to ChildTable.DesiredFiled and RowSourceType is "field". Relation is set in dataenvironment of the form so that ParentTable.PointerToChildRecord = ChildTable.ForeignKey. Problem is, when I run the form, that the column containing child table field displays value from record where ParentTable.PointerToChildRecord = ChildTable.ROWNUMBER (?) and not ParentTable.PointerToChildRecord = ChildTable.ForeignKey. For example, if value of ParentTable.PointerToChildRecord = 3 (numeric), it points to the third row in child, not to the record with foreign key=3. This would be fine when you have an array for a RowSource, but in my case is pretty useless. I tried to change linking field type from numeric to char, didn't work.Anybody had such a problem? 2) There's a grid on the simple "Search" form. In grid's DoubleClick event I tried to place something like "release this.parent" so the form would be released and user can go back to the calling form. However it looks that DoubleClick event never fires no matter where I doubleclick on the grid (I checked this even by placing a "wait" message in the DoubleClick code of the grid ). What am I missing here? 3) Is there any way to suppres/replace message "Executing remote, press ESC to cancel.." while connecting to remote data source? Any suggestions will be greatly appreciated.TIA. Srdjan
Next
Reply
Map
View

Click here to load this message in the networking platform