Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using 2 combobox in grid filtered
Message
From
16/03/2020 13:07:30
 
 
To
15/03/2020 17:42:33
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01673609
Message ID:
01673655
Views:
64
Ok, Luis, one question at the time.

>When I mention that I do not have the source code, it is because software that we sell, so I do not have access to its internal code due to being the intellectual property of the software house.
>What this application allows you to do is edit the Form in drawing mode and insert a GRID

Question: what is the RecordSourceType and RecordSource for the Grid that you may insert in the Form?

Please be comprehensive in your reply. For instance, don't say "a cursor". Say "a cursor with the following columns [...]".

>where it is possible to insert code in Xbase, if you have a "Afterorwcolchange" or "LostFocus" or "Valid" bindevent referring to my number 1 combobox, I can make one filter to return only records that make sense in my 2nd combobox because the event go to trigger.
>In short, after selecting a value in my 1st combobox, the values ​​returned in the second combobox must be filtered. For example, if my last 2 digits from my cost center (combo 1) refer to vehicles, they should only appear in my second combobox vehicle registration number and not for example, number of mobile phones.

>
>Best regards,
>Luis
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform