July 14, 200421 yr I'm looking for some example code invoking FMP via Active X. I'm using Borland C++Builder, and have imported the FM Type LIB, which creates 3 objects - App, Document, and Documents. I've been able (by repeated trial and error) startup FMP via my application, and open an existing document. I have not been able to succesfully run a script within that opened document. Here is the section of relevant code: WideString arg1(FileName), arg2("bullshit"); status=fmp_Documents->Open(&arg1, &arg2); arg2="DummyScript"; fmp_Document->Connect(); fmp_Document->DoFMScript(&arg2); Can someone point me to another site, or some boilerplate code invoking the obvious simple FileMaker functions? Thanks in advance, Alan in St. Louis
Create an account or sign in to comment