Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble adding more than one record
Message
 
À
23/05/1999 11:41:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00221891
Message ID:
00222052
Vues:
24
I think you just have to do Thisform.Refresh() after adding the record. I mean after APPEND BLANK.

>Hello:
>
>I have a parent form called VOTERFILE and a child form called FIED_DETAIL. I have placed a cmd button on my parent form to fire my child form. My child form is basically an assignment table.
>
>My parent form is keeping track of various "identifier" names we are using to pull specific voters for various political offices.
>
>Ex:
>
>Record #1 may look like:
>
>label = Congress
>code_name = Cong_Dist
>
>Record #2 may look like:
>
>label = State Senate
>code_name = ST_UP_HOUS
>
>I will use record number 1 for my example. Let's say I fire my cmd button on record number one. My assignment form comes up just the way I want with the code name (Cong_Dist) already placed into the appropriate field on my assignment.
>
>
>OK - Now, when I go to "ASSIGN" options to this code name on the assignment form, I can only assign one record. The first record works great.
>
>Ex: (this is my child form)
>Code_name = Cong_Dist
>Option = 011
>Label = Broward
>
>I can save this and click ADD on my buttonset and record number two shows up with the code_name in the correct spot.
>
>**** Here is where I encounter the problem. As soon as my cursor touches my OPTION text box to add the next option to Cong_Dist, FoxPro places the previous choice in the textbox (011)..... same goes for the label. I want to be able to add a second, third, and fourth option to this code_name. But, I can't get past the first one!
>
>
>I am stumped as to why I can't assign more records on my assignment table. If any can help me with this I would appreciate it tremendously.
>
>TIA
>Jason
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform