You are exactly right. I thought that by clicking "Update All", I was setting all fields to be updateable, even the primary key fields. I see now that you have to manually check the primary fields.
THANKS!
I am trying to insert a record into an MS SQL table via a remote view. When I update the table, I get an error stating that a null value is not allowed in the column, even though the field is not null.
Any help would be appreciated.
Thanks
The control sends and receives messages using Open Modbus protocol for controlling industrial processes via Ethernet TCP/IP. The class encapsulates twelve methods for establishing connections, reading registers, presetting registers, etc. The object is instantiated once and then function calls...
I am still experiencing trouble passing an array to the COM object after invoking COMARRAY(). I have tried various settings for the nNewValue argument (i.e., 0, 1, 10, and 11), but I always get the same error, "Error building array".
The code looks like this:
o =...
I need to call an ActiveX object function from VFP 6.0. The function declaration is:
HRESULT PresetMultipleRegisters([in] short Addr, [in] long DataStart, [in] short Quantity, [in] VARIANT vRegValues)
In VB the syntax that works is:
<object>.PresetMultipleRegisters(1,4,3,array)
where array...
I need to call an ActiveX object function from VFP 6.0. The function declaration is:
HRESULT PresetMultipleRegisters([in] short Addr, [in] long DataStart, [in] short Quantity, [in] VARIANT vRegValues)
In VB the syntax that works is:
<object>.PresetMultipleRegisters(1,4,3,array)
where array...
The code in VB is:
Public oModbusServer As ModbusSrv
Set oModbusServer = New ModbusSrv
In VFP, I have tried:
(1) oModbusServer = CREATEOBJECT("ModbusSrv")
(2) oModbusServer = CREATEOBJECT("ModbusServer.ModbusSrv")
Both of these VFP statements result in the error...
I have an ActiveX server executable that is functional in VB, and its interface is viewable in the object browser of VFP 7.0, but I am unable to instantiate an object using CREATEOBJECT(). Is there a way to use its classes in Visual Foxpro?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.