fiogf49gjkf0d Hi,
I have a feeling that I am trying to do something that may not be able to be done, but want to run it by someone who has more than 10 hours of programming time (unlike me). I am using SLX 7.5.0.1 LAN. On the Contact Detail form I have created a TabControl and have placed a ComboBox inside of it. I have the ComboBox populated with 9 items. I also have 7 checkboxes in the Tabcontrol.
My desire is to have a user select one of the items in the Combobox, as well as be able to check none,some or all of the checkboxes. This will then write to a new table I have created. My new table contains a ContactID column, a ProdNotificationID column (identity increments), a column that the item from the Combo will write to. Lastly it has 7 columns (booleans) that map to my checkboxes.
It works fine ONE TIME. But if I change the item in the Combobox and hit 'Save' rather then inserting a new record for that Contact, it just updates the previous record.
So far I have tried remaking the table in the DataBase manager and using 'Many to One' relationship with the Contact table. I've tried having no relation to the contact table. I've tried using the 'auto increment' on the ID column created when building the table in Database Manager. I think I am missing something fundamental in SalesLogix and programming in general. Unfortunately I dont even know where to begin to try and acquire that knowledge in a timeframe suitable for this project.
Any help, advice, heckling would be most appreciated!
Thank you
|