Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data type is invalid for this property (WHICH PROPERTY?) 2

Status
Not open for further replies.

Raccoon

Programmer
Aug 18, 1999
92
US
In the design mode, when loading a screen for modify I get the error message:

data type is invalid for this property

Is there any easy way to tell which property the message is talking about?
 
In this case even if you issued DO FORM command to get a chance to suspend and trace, the error message has no suspend option, right?

To handle this situation do follow these steps
1-In the command window type..
Code:
ON ERROR MESSAGEBOX(MESSAG(1))
2-Now, don't try to Modify the form, Instead issue the
Code:
DO FORM "Your Form Name"
command
This message box you see now have this line of code triggered the error message 1732 which is data type is invalid for this property. Write this line down in a paper.
3- Now issue
Code:
MODI FORM "Your Form Name"
command
and OK the error message.
4- Double click your from to get any code window
5- Hit CTRL+F and check the all objects check box
6- Type the line of code you searching for.Well you found it
7- don't forget to restore your default error setting
Code:
ON ERROR


Best of luck
Walid Magd
Engwam@Hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top