Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local Parameterized Views...
Message
 
To
18/05/1997 15:45:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00032722
Message ID:
00032731
Views:
33
Gene,

>In your grid's query put:
>
>SELECT blah, blah, blah ;
> FROM blah ;
> WHERE blah=?thisform.pageFrameName.listboxName.Value
>
>
>Put in the InteractiveChange event of the drop-down:
> thisform.pageFrameName.Grid.Refresh or Requiry

I put the SELECT in the RECORD SOURCE and set the RECORD SOURCE TYPE to 4 - SQL. I then added code in the InteractiveChange even of the drop-down. Requiry doesn't work at all, it gives me an error. Refresh doesn't change anything either, but I don't get any errors.

Any other suggestions? I made sure the proper column was BOUND in the drop-down by setting the CAPTION of the form to the value. If I hardcode a value in my SQL statement, the proper data comes in just fine. I must be doing something wrong.

Also, I want to be able to UPDATE any tables that I joined using the SQL, is that possible?

Thanks,
Jim Huenergardt
AXIO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform