Runescope
Well-known member
- Joined
- Jan 6, 2011
- Messages
- 53
- Programming Experience
- Beginner
So, this is quite frustrating and I'm not understanding what the problem is.
To start it off, this is the bit of code:
Now, what happens is that it removes the row from one dataset and then passes that change to the database (all well and good so far), but then while it removes the column(field) from the second dataset(verified), it doesn't pass that change to the database, and I can't figure out why.
Anyone have any ideas? If you need more info about my code, don't hesitate to ask!
Thank you for your time and attention to this post.
To start it off, this is the bit of code:
VB.NET:
FFoundRow = FDT.Select("[Code1] = '" & Code1 & "'")
FFoundRow(0).Delete()
FDA.Update(FDS, "Info")
FHCIndex = FHDT.Columns.IndexOf(Code1)
FHDS.Tables("History").Columns.RemoveAt(FHCIndex)
FHDA.Update(FHDS, "History")
Now, what happens is that it removes the row from one dataset and then passes that change to the database (all well and good so far), but then while it removes the column(field) from the second dataset(verified), it doesn't pass that change to the database, and I can't figure out why.
Anyone have any ideas? If you need more info about my code, don't hesitate to ask!
Thank you for your time and attention to this post.