PDA

View Full Version : Creating a custom table



Mixylplyx
November 24th, 2016, 02:27
I've got some items in a text file I want to add in bulk to a table. Is there a way to copy and paste into a new table in FG where each line in the text file is its own row in the table?

Thanks in advance!

Moon Wizard
November 24th, 2016, 07:19
Create a new campaign, then create a table record similar to the one you want to create with just a couple rows, and exit. The db.xml file for your new campaign should only contain the single record with the XML formatted as an example.

You can then use a script (if you're a programmer), or some cut and paste & find and replace (if you're not), to create a record like the one.

Make sure to backup the file before loading it up in FG, since FG will overwrite the file (and mistakes in the XML) with an empty file on an error in the XML.

Regards,
JPG