I have never put the forms in a subdir, but I would imagine that you would need to provide the partial path.
DO FORM forms/frmNormPeterson
>However I do have a second question. Do the called forms need to be in the default directory? I have programs for different applications in different directories. In the library procedure I use the following code, where the xPath and xFrmName are passed parameters.
>
>lc_FullName = m.xPath + m.xFrmName
>do form (m.lc_FullName)
>
>If memory serves me correctly, it seems that I had a problem trying to call report forms with just the form name as you suggested (no varaibles) and had to append the path to get it to work correctly.
>
>
>>How are you invoking the forms and reports? It should be something like the following without any paths.
>>
>>DO FORM frmNormForm
>>
>>>When I build my APP and copy it to a directory for testing, it will not run unless I have the SCX and FRX files in the directory. When I look at the files tab on the project, it says that the form is included. Why would it be looking for the from as a seperate file?
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only