Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with grid and relation
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01521104
Message ID:
01521105
Views:
48
>Hi everybody,
>
>In my form I have a combobox and bellow a grid in which I try to show related table's descrip. Now, when I add a new record, the new description is not shown.
>
>Here is a code I try in the combo's InteractiveChange event
>
>thisform.cntButtons.cmdAdd.Enabled = .t.
>SELECT SCSGLink
>SET RELATION TO
>SET RELATION TO group_no INTO csrGroups
>
>Should I try to switch to using iif(seek(...), ...,...) expression as the column's source for the grid instead of current RelatedTable.Descrip ?
>
>Thanks in advance.

Why not filtered View or CA?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform