Thanks & Regards,
Sup
You can get around this (but be sure that you aren't breaking any accounting
or validation rules) by using the SetBufferValue function instead (I am
assuming that you are doing this within Customization Manager).
-Dan
"sup" <s...@discussions.microsoft.com> wrote in message
news:F3D8D7EB-92D1-4E24...@microsoft.com...
Thanks & Regards,
Sup
-Dan
"sup" <s...@discussions.microsoft.com> wrote in message
news:2DB23E1A-F978-46BE...@microsoft.com...
"sup" <s...@discussions.microsoft.com> wrote in message
news:35180D7C-952B-4B5F...@microsoft.com...
MemHandle = GetGridHandle("Spread4")
RecFound = MFirst(MemHandle, MemMaintFlg)
While (RecFound = 0)
TaxID = GetObjectValue("ctaxid_4")
If Trim(TaxID) = "SUP" Then
' serr1 = SetObjectValue("ccuryMerchTax_4", Str(55))
Call SetBufferValue("ccuryMerchTax_4",Str(55))
End If
RecFound = MNext(MemHandle, MemMaintFlg)
Wend
I was using SetObjectValue earlier but now I am using SetBufferValue.
If you look at the fieldname property of that control, "ccuryMerchTax_4",
you will find the buffer.value that you are trying to set.
Example:
Call SetBufferValue("bsotax.curymerchtax", str(55))
-Dan
"sup" <s...@discussions.microsoft.com> wrote in message
news:BEAC4402-9E00-4E33...@microsoft.com...
Is there something that I am missing. Do I need to refresh or do something
else?
I appreciate your help and patience.
Call DispFields("Form1", "")
-Dan
"sup" <s...@discussions.microsoft.com> wrote in message
news:CE3A2297-6A29-4CA9...@microsoft.com...
As I mentioned in my previous post when I loop through the grid again
GetObjectValue doesnt return the value that I had set.
Seems like as if it doesnt save the value I set in the memory array. Why
should this happen?
Is there a way to do that?
Thanks & Regards,
Sup