Hi again Cetin
Thanks for your last reply - It was helpful
I am at least a step closer to getting this parameter to pass to my office_assignments form correctly.
As you suggested, I went and made sure I had things typed correctly, so I am confident I have my init event set properly in my office_assignments form.
The code now reads:
lparameters tcOfficeID
=seek(tcOfficeID,"offices","nofficeid")
I didn't implement the trim function, b/c the parameter is not a character. The parameter that is being passed is a numeric data type. I believe that is what you are referring to. I tried both ways and each failed, so I left it like this.
BACKGROUND:
My alias table is "offices.dbf" [pk is nofficeid]
My parent form is called offices.scx && my cmd button (assign contact) is on this form
My child table is called office_assignments.dbf fk [nofficeid]
My child form is called office_assignments.scx
So, I believe I am squared away with this init code. I also set my data session property to 'PRIVATE DATA SESSION'.
Step #2 is going over to my cmd button [ASSIGN CONTACT] on my offices form and placing code in the click event to get my office_assignments form to open up with the nofficeid of the the record I am currently positioned (offices form) placed in its (office_assignments) nofficeid text box.
the code reads as follows:
DO FORM office_assignments WITH offices.nofficeid
When I go to run my form and click my ASSIGN CONTACT cmd button after I completed those steps, I receive a message:
ALIAS NOT FOUND!!!
If you see where I am losing this, please let me know.
thanks again for any help
I hope I am close..
Jason
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement