Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about Grid Control.
Message
From
28/04/1998 12:31:57
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00095440
Message ID:
00095445
Views:
20
>Hi,
>I made a form which contains two grid controls
>- one displays Source , the other displays Target.
>I used drag and drop method to carry any date from the source grid onto the target grid.
>The Source grid¡¯s control source is a table which has medicine_code, medicine_name, Date fields.
>The Target grid¡¯s control source is a Local View which has medicine_code, patient_ID, Date fields.
>And the view is a parameterized one which varies according to certain Patient_ID and Date.
>I just wanted to display medicine_code (which is dragged from the source grid) on the Target grid And also the proper medicine_name in accordance with the medicine_code.
>It was easy to show the medicine_code onto the target but it was hard for me to display The other (medicine_name) in accordance with the medicine_code.
>
>The target grid has only two columns(medicine_code, medicine_name)
>I¡¯m not sure but I guess this¡¯s related SQL-join condition of the view or there might be Another way to get around.
>How do I get the exact result?
>Would you please Help me?
>Thanks!!
Hi Kim,
Include the medicine_name in view as !updatable. I think it would be easiest.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform