Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basics of DO FORM
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Basics of DO FORM
Miscellaneous
Thread ID:
00855349
Message ID:
00855349
Views:
56
I'm losing it. I don't understand this and have know idea where to look for the answer. I have a form that has several dropdown list boxes that are based on a particular dropdown list class with the following in the right-click method:
IF This.Parent.Name = "frmQuoteNum"  && Enter routine only if this object is used on this form.
	LOCAL cName
	IF EMPTY(This.cmetadatafilter)	&& Use this property only if we need to filter....
		cName = UPPER(ALLTRIM(This.Name))  && ...by something other than the object's name.
	ELSE
		cName = UPPER(ALLTRIM(This.cmetadatafilter))
	ENDIF
	SET FILTER TO UPPER(ALLTRIM(datafield)) == "&cName" IN metadata
	GO TOP
	DO FORM EditMeta WITH cName
ENDIF
The form that contains these comboboxes is called "Quotes", and I can see this object in the debugger. Why when the last line above, "DO FORM EditMeta WITH cName" executes, I can't see the "EditMeta" form object in the debugger. Yet when I run the form "EditMeta" directly from the project manager I can see it just fine.

I need to be able to access a property on this form from a third form "AddMeta" that I popup from clicking an "Add" command button contained on the EditMeta form. The exact line in the "Save" button on the AddMeta form is "REPLACE datafield WITH ALLTRIM(EditMeta.CallingCombo)". But I get an error "Object EditMeta not found". Help.

Thank You
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Next
Reply
Map
View

Click here to load this message in the networking platform