Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#164 closed defect (fixed)

Color bug in Participants.xlt

Reported by: Stein Tore Erdal Owned by: Stein Tore Erdal
Priority: major Milestone: 1.2.13
Component: Other Version: 1.2.12
Keywords: import pilots Cc:

Description (last modified by Stein Tore Erdal)

Values from "color" column does not appear in the fsdb. In the script the values from the color columns is put in an attribute named "color", should be put in the "glider_main_colors" attribute of the FsParticipant? element.

Change History (3)

comment:1 Changed 8 years ago by Stein Tore Erdal

Description: modified (diff)
Resolution: fixed
Status: newclosed

comment:2 Changed 8 years ago by Stein Tore Erdal

If you have an existing Excel file based on the Participants.xlt template you can fix this by pressing Alt-F11 (should bring up the script editor),

then in Module1, find Sub UpdateFsdbWithParticipants?()

Change

xe_FsParticipant.setAttribute "color", Cells(r, 7).Value

to

xe_FsParticipant.setAttribute "glider_main_colors", Cells(r, 7).Value

comment:3 Changed 8 years ago by Stein Tore Erdal

Works in FS 1.2.13.

Stein-Tore

Note: See TracTickets for help on using tickets.