-
Hello ! Could you tell what is the easiest
way save content of clipboard to database(mdb). I have used this line:
DataEnvironment1.rstblsakki.Fields(15).Value = Clipboard.GetData
but I just get errormessage:
Run-time error'-2147217887(80040e21)'
Field's type is binary and others fields work fine.
So any ideas ?
-
It depends on what type of clipboard data you are retrieving. You can make that determination by using Clipboard.GetFormat and be sure it's the proper type for your field, or you can convert it if necessary.