INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Creating a new field?  (Read 2017 times)

JeffreyK

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 52
  • nothing more to say...
Creating a new field?
« on: September 23, 2003, 08:55:15 pm »

I'm trying to write an out-of-proc automation tool that might need to set a field that doesn't yet exist in MC.  I've tried calling MJFileAutomation::Set with a field name that doesn't exist, but the function fails.  Is there any automation to create a new field or am I out of luck here?  

(Note that it is not critical that I be able to create the field (the program will work without the feature I was adding), I was just surprised that I couldn't find a way to do it.)

Thanks!
-JeffreyK
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Creating a new field?
« Reply #1 on: September 27, 2003, 03:11:56 am »

I don't think this is Possable

But If you put this in and save it to a new field that does not exist like

=================================
SaveChartInfoToField: A Field A User Selects
MyComment: Info Read That Is In Field SaveChartInfoToField
=================================

On Error Resume Next

'Save To Field
Response = MJFile.Set(SaveChartInfoToField, MyComment)

' Save To File Now!
Response = MJFile.SaveToTag()

end Sub

Does that still save this info to the Media File?

then if a user Imports that Media File In MC9 Does It Auto Create The Field?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA
Pages: [1]   Go Up