Well, I got the ENTER USI <DBGridForm> and the lookups to work.
My manually entered data (an item code) does get saved to the table but the lookups don't.

And there are some other rough edges: even though the lookup columns are marked read-only, I've got to hit Enter to get past them to the end of the row, and then another row is added - so that part works.

I'll work on it some more later.
Doug


On 11/13/2019 5:35 PM, 'Karen Tellef' via RBASE-L wrote:
I'd love to replace all scrolling regions with DBGrids, but this situation is one where I have trouble figuring out how to use DBGrids to achieve the same end as an easy scrolling region would be.

I need to bring up a form with:   ENTER USING <formname>

User will be entering multiple rows at once.  When the user types in an Inventory#, I need 5 other "variable" type of fields to display immediately to show details of that inventory# they typed in (like description, color, etc).

When using a DBGrid in edit mode, I would set up a Enhanced Properties / Lookup Expression as below to display the values (and make that column read-only so the user doesn't change it)
rb.jpg



However, when doing "enter using" it appears nothing will work until I leave the row and thereby save it even tho I am using the required < >.  I tried setting a vPCGS# form variable and replacing the <pcgs#> in the print-screen with a variable, but also does not evaluate until row is saved.

Is there anything I can do to use a DBGrid rather than a scrolling region?  Do I need to play around with the new "UPDATEDFIELDNAME" property / TEXTVALUE commands (again, I'm assuming these won't work with an "enter using")?

A scrolling region would work fine, but darn it I want a DBGrid!

Suggestions??  Thanks, gurus!

Karen


--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/1008021244.549224.1573688151067%40mail.yahoo.com <https://groups.google.com/d/msgid/rbase-l/1008021244.549224.1573688151067%40mail.yahoo.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/7c8651ca-6b8e-2d53-b57c-7d42014fc593%40wi.rr.com.

Reply via email to