Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding more than one record to child form
Message
 
À
24/05/1999 21:18:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00222267
Message ID:
00222296
Vues:
24
No problem at all - we all had to start out somewhere. You should see me doing COM and ASP. Questions all day.

1. NO do not add a "SET RELATION". If you'd HAD one I would have suggested you removed it.

2. Great - as you add more forms/actions to your program you'll appreciate the freedom private DS give you.

3. In the click() code on the button:
ASSERT .F.  Message "Starting Add Now"
DODEFAULT()
Then in the command window type: SET ASSERTS ON before loading the form. When VFP comes to the ASSERT .F. line, a message box will pop up with the message "Starting Add Now" and the choices to go to the debugger, ignore, etc. Choose 'Debug' an you can track the code line by line from that point.

Asserts are WONDERFUL tools for debugging, because they are ignored by compiled code. You can leave them in forever.

Barbara


>Hi Barbara!
>
>Thanks again. I am definitely learning some stuff tonight.
>
>In response to your last post>
>
>1. I do not have a set relation cmd anywhere. Should I? If so, where would it go and what would it look like?
>
>2. I will change the data session to reflect what you mentioned. That should help alot.
>
>3. I will also place the code:
>
>'assert' .f. in the click () of the add button
>
>Do I place the DODEFAULT() code in the add () as well?
>
>Sorry if these questions are basic..
>
>
>Thanks again
>
>Jason
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform