Fields JS field text or Calculation Prepend fiels text Combo field Calculation Prepend field & “ “ & JS field
> On Dec 11, 2021, at 8:58 PM, Al Jeffrey <[email protected]> wrote: > > Fields > > > Contents of fields > > >> On Dec 11, 2021, at 7:13 PM, Erik Wegweiser <[email protected] >> <mailto:[email protected]>> wrote: >> >> Are you using the File functions or exporting from the field? >> >> — E >> >>> On Dec 11, 2021, at 5:37 PM, Charles Hartley <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> Hi. >>> >>> I've created a script that writes the contents of a field to a .js file. >>> The field contains 100 records, and the script correctly writes what it >>> should. However, I would like for the script to prepend a certain line of >>> text to the file before writing the field contents. >>> >>> Is that possible, or am I stuck with doing it manually? >>> >>> The FMP file contains 1000 records which are written, 100 at a time, to ten >>> different .js files, and I need the same line of text to begin each .js >>> file. >>> >>> Thanks, >>> Charlie >>> >> >
