Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids-data entry
Message
De
31/07/2002 11:27:22
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
31/07/2002 10:23:31
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00684186
Message ID:
00684519
Vues:
18
Hello Kevin,
Two issues here...

1. How to make your grid updateable. In addition to what you've already done, make sure the columns and controls they contain are also set as ReadOnly = .F.

2. Your best bet, as I'm sure you'll hear echoed here by most developers, is not to let your users edit gridlists. One of the main concerns is making sure that your business rules fire in a consistent manner when moving from the record being added/edited. Considering that grid events don't fire in the "right" order consistently, this can be quite a challenge.

Check out the MM guide for using cListObjEdit. It pops a modal form for adding/editing and is our preferred choice. We've made a few grids updateable but only where the users threatened our lives!

Hope that helps,
---J

>Paul,
>
>Thank you for taking time out your schedule to answer me.
>
>I can't enter data . Nothing shows up when you type even though the cursor is in the grid textbox. It appears that it is read-only but it isn't. I can view data but that is it.
>
>When I use the vfp grid class no problem.
>Maybe this will help:
>The grid is on page 2 of the form.
>Bizobj is set to auto primary bizobj.
>makes no diference what form I use.
>Makes no diference how I open the file (bypass bizobj)
>readonly=.f. (in data env, grid)
>allownew=.t.
>lreadonlyignore=.t.
>
>Here's what I am trying to do.
>An order entry screen where you have header info (customer etc)
>On page 2 have a grid where you can enter items.
>Is there a better way to do it ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform