Jump to content

dwdata

Members
  • Content count

    212
  • Joined

  • Last visited

  • Days Won

    2

dwdata last won the day on October 12 2015

dwdata had the most liked content!

Community Reputation

16 Good

2 Followers

About dwdata

  • Rank
    FileMaker Ninja (enlightened)

Profile Information

  • Title
    FileMaker/PHP/mySQL Consultant/Developer
  • Industry
    Software Development
  • Gender
    Male
  • Location
    Irvine, California U.S.A.

Contact Methods

  • Website URL
    www.dwdataconcepts.com
  • Skype
    dwdata
  1. CF to index a TimeStamp List

    Hi Siroos, The Timestamp List is not records but a text list in a calculated field, so unless I am missing something, your suggesting won't cover my needs. I was able to to script the LOGIC I need, nut cannot migrate it to a CF successfully: Set Variable [ $source ; Value: " 1/6/2018 9:00 AM¶ 1/6/2018 9:10 AM¶ 1/6/2018 9:40 AM¶ 1/6/2018 9:50 AM¶ 1/6/2018 10:40 AM¶ 1/6/2018 10:50 AM¶ 1/6/2018 11:00 AM¶ 1/6/2018 11:40 AM¶ 1/6/2018 11:50 AM¶ 1/6/2018 12:00 PM¶ 1/6/2018 12:10 PM¶ 1/6/2018 12:20 PM¶ 1/6/2018 12:30 PM¶ 1/6/2018 …" ] Set Variable [ $unit ; Value: 10 ] Set Variable [ $counter ; Value: 1 ] Set Variable [ $index_counter ; Value: 1 ] Set Variable [ $index ; Value: "" ] Set Variable [ $max ; Value: ValueCount ( $source ) ] Loop Exit Loop If [ $counter > $max ] Set Variable [ $index ; Value: List($index; $index_counter) ] If [ GetAsTimestamp (Substitute(MiddleValues ( $source ; $counter + 1 ; 1 ); "¶"; "")) = GetAsTimestamp (Substitute(MiddleValues ( $source ; $counter ; 1 ); "¶"; "")) + Time ( 0 ; $unit ; 0 ) ] Set Variable [ $index_counter ; Value: $index_counter + 1 ] Else Set Variable [ $index_counter ; Value: 1 ] End If Set Variable [ $counter ; Value: $counter + 1 ] End Loop Show Custom Dialog [ $index ] Once again, appreciate any help! Don ;o)
  2. I have a CF that builds a list of TimeStamp intervals: 1/6/2018 9:00 AM 1/6/2018 9:10 AM 1/6/2018 9:40 AM 1/6/2018 9:50 AM 1/6/2018 10:40 AM 1/6/2018 10:50 AM 1/6/2018 11:00 AM 1/6/2018 11:40 AM 1/6/2018 11:50 AM 1/6/2018 12:00 PM 1/6/2018 12:10 PM 1/6/2018 12:20 PM 1/6/2018 12:30 PM 1/6/2018 12:40 PM 1/6/2018 12:50 PM I want to analyze this list and generate an index sequence (resetting the index back to 1 if there is a break in sequence) 1/6/2018 9:00 AM = 1 1/6/2018 9:10 AM = 2 1/6/2018 9:40 AM = 1 1/6/2018 9:50 AM = 2 1/6/2018 10:40 AM = 1 1/6/2018 10:50 AM = 2 1/6/2018 11:00 AM = 3 1/6/2018 11:40 AM = 1 1/6/2018 11:50 AM = 2 1/6/2018 12:00 PM = 3 1/6/2018 12:10 PM = 4 1/6/2018 12:20 PM = 5 1/6/2018 12:30 PM = 6 1/6/2018 12:40 PM = 7 1/6/2018 12:50 PM = 8 So the CF will produce this list: 1 2 1 2 1 2 3 1 2 3 4 5 6 7 8 Any insights would be appreciated. Thanks! Don
  3. Psychic

    Haha - my animal was a kitten - oh well ;oP
  4. Hi DanS, If you are still needing support, please contact me off list at donw@dwdataconcepts.com. We offer flexible development and support plans that might fit your needs. Thanks and I look forward to speaking with you.
  5. Creating a slideshow

    What buttons are you concerned about? Could you mock up a quick example file with the button issue you are concerned about. I will take look a make a few mods to deal with it (or at a minimum make a few suggestions).
  6. Creating a slideshow

    Hi Robert, You could always just set a VAR and wrap your advance slide script steps with some logic that looks to that VAR: -- Start Slide Show -- (button behavior set to Halt Script) Set Field['image', 'first image'] Set Variable [$$pause, 1] Loop Pause/Resume Script ['5'] Exit Loop If ['last image'] If[$$pause = 1] Set Field['image', 'next image'] End If End Loop -- Pause SlideShow -- (button behavior set to Resume Script) Set Variable [$$pause, ""] -- Resume SlideShow -- (button behavior set to Resume Script) Set Variable [$$pause, 1] -- Stop SlideShow -- (button behavior set to Halt Script) Set Variable [$$pause, ""] Set Field['image', 'starting splash page'] This is quick and dirty, but you get the idea.
  7. Hi Guy, I made a few mods to your architecture. Please review attached file. Let me know if it needs adjusting. Good luck! ERC Registry v2 Mod_dw.fmp12
  8. Text Field with image aligned

    Sorry I am way late on this thread - not sure if you solved it. Why not just use "Conditional Formatting" to BOLD and CHANGE THE COLOR? Will that work? Good luck!
  9. Seems like you are missing the FIELD object: //CREATE FILEMAKER OBJECT $fm = new FileMaker($database, $hostname, $username, $password); //GET THE LAYOUT AS AN OBJECT. $layoutObject = $fm->getLayout($layoutName); $fieldName = "your_field_name'; //GET THE FIELD FROM LAYOUT AS AN OBJECT $fieldObject = $layoutObject->getField($fieldName); //GET THE VALUE LIST ATTACHED TO THIS FIELD $valueList = $fieldObject->getValueList(); // FOR TESTING echo "<pre>"; print_r($valueList); echo "</pre>"; Good luck!
  10. Delete Related Records, what if multiple parents exist?

    Hi Roeland, If the goal is to keep the REMARK if other ANSWERS use it, then you will need to add scripting with logic to know when you want the CHILD deleted. Please check out the attached file Good luck! sample.zip
  11. HTML in Web Viewer shows too wide

    Hi Robin, Take a look at this sample file. Is the HTML/CSS looking okay in it on your computer? Let me know. Good luck! html_wv.zip
  12. Hey gang, Dealing with a little quirky report part issue in FileMaker. I am wondering how other developers deal with this. Below is the use case scenario and attached is a sample file I zapped up. ISSUE: I have a simple List Report (Header, Body, Trailing Grand Summary, and Footer). Sometimes, depending on the quantity of records in the found set, the Trailing Grand Summary breaks to a new page with NO BODY ROWS. This is quite confusing to the recipient. It would be nice to have at least one row present in this case for continuity purposes. I am wonder if someone has a slick way to cause that last record to push to the next page if the Trailing Grand Summary is going to be by itself. If the BODY part was fixed, I could group the records and add a sub-summary (with page break after occurrence) to push the next record to next page. When the body height varies via field sliding this does not work and falls short. Any thoughts on this would be greatly appreciated. Thanks! tr_grand.fmp12
  13. I have a client that is looking for a FileMaker Construction management system that he can potentially integrate into his existing FMP database solution. He is interested in features like: Estimates, Bids, Proposals, Contracts, Forms, Change Orders, etc… Anything established products come to mind? Appreciate any direction you can offer.
  14. Sub Summary Report in Natural Order

    Define a new break field: product_ext_lot_key = (Calculation, Text Result) = product & external_lot then define the corresponding summary field if yu have not already: sum_Qty = (Summary, Total of Qty) then define your LAYOUT PARTS as follows: PART (in caps) context (lower case) HEADER stuff... SUB-SUMMARY (by "product_ext_lot_key" - Above) product external_lot sum_Qty TRAILING SUMMARY Total = sum_Qty FOOTER stuff.... Just sort by the new "product_ext_lot_key" field. Will that achieve what you need? I hope this helps!
×

Important Information

By using this site, you agree to our Terms of Use.