May 25, 200421 yr I recently tried to interface my filemaker database with a visual basic aplications but came across a problem when trying to run a scrip from VB where i need to pass a parameter.... Does anyone know how i can pass a parameter to the filemaker scrip from VB i have tried passing "script001('test')" to the DOFMScript but that doesnt work here is just a little snipet of my code myOpenFile = FMDocs.Open("c:Hollands.fp7", "Admin", "") myOpenFile.DoFMScript("script001")
June 1, 200421 yr I tried dofmscript today and seems like it doesn't accept parameter. One work around is to use the script and import from vb to a global field in fm (output variable to a text file, import text file to a global field) and then use the script with that global field.
June 7, 200421 yr Author yer kool thanks ill do that just seems like alot of work to pass a parameter
Create an account or sign in to comment