Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating Forms
Message
De
02/04/1999 15:20:45
 
 
À
02/04/1999 11:33:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00204658
Message ID:
00204771
Vues:
15
Hi Cetin -

Thanks for your reply today concerning passing parameters from a parent form to a child. I appreciate your help. Another developer has been trying to help me today with this "proceedure" as well, but I still haven't been able to get it to work. I assure you, it isn't b/c of your (or his) lack of good info, it is just that my programming/coding experience is nill, and everything is an epic battle for me!

I would like to lay out what I have done, and hopefully you can pinpoint where I have dropped the ball.

To refresh your memory, I have a form called OFFICES with a cmd button called ASSIGN CONTACTS that fires my OFFICE_ASSIGNMENTS form.

I want to pass a parameter to the child form, b/c when I click on the cmd button, the field, nofficeid of the offices form isn't placed into the nofficeid field of the OFFICE_ASSIGNMENTS table like I want.

So, in the init event of my OFFICE_ASSIGNMENTS table, I have placed the code:

lparameters tcOfficeID
=seek(tcOfficeID,"offices","office.nofficeid")

** Based upon the code you gave me earlier today. I hope I have filled in the correct info for the second line of code.

Also, I have set the data session to Private Data Session.


Then, I went over to my offices form and in my click event for my command button that fires my OFFICE_ASSIGNMENTS table, I have placed the code:

DO FORM office_assignments WITH office.nofficeid


When I go to run my form and click the command button, I receive a message that says, alias not found.

Do you see where I am butchering this code..ha!

TIA

Jason
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform