AnsweredAssumed Answered

Opening folder or URL based on field contents and calculation

Question asked by ThomasTimmann on Mar 5, 2010
Latest reply on Mar 5, 2010 by ThomasTimmann

Title

Opening folder or URL based on field contents and calculation

Post

Hi all,

 

Im rather new to Filemaker programming.

 

I need help to understand "open URL" function in scripts.

 

What I need is: I have a database containing informations of orders and i would like a button that opens a specific folder based on a constant and a ordernumber.

Tabel: WorkOrder

Constant is "K:\Shell\Misc Pictures"

Field: WorkNumber (numeric value)

 

So far I have come to that the needed funtion is OpenUrl, but every time I put in "K:\shell\misc pictures\"  & GetAsText ( WorkOrder::WorkNummer )

i get the message "This text constant does not end with a quotation mark"

 

If I put in what ever other text in the constant quotation marks besides ":\" , i can close the script editor, but the scripts does ofcourse not work.

 

Any help is appriciated.

 

Regards

Thomas

Outcomes