Please show the code.
if there is no code involved, you have to give a detailed description of how
to recreate this. Can you recreate it in a new form?
--
Bertil Isberg - CTECH
Paradox buglist:
online:
http://hem.bredband.net/bertilisberg/
__________________________________________________ _______________
Ok,
I have traked down the offending code and I can reproduce it. What do you
think?
This code syncs the form display to the client number returned by the libary
method
mealsLib.returnlcnt()
The data model consists of a single table named Client.db. The fields are
placed in a 1x1 MRO.
Client number is the primary index. There is also a lastname-firstname
secondary index.
This is in the setfocus method of the form. A calling form opens (or moves
to) the form after setting the Library variable.
var
clientTC TCursor
dmField, dmTbName String
dyCriteria DynArray[] Number
endVar
recvclnt = mealsLib.returnclnt()
dmTbName = "Client.db"
dmField = "CLIENT #"
dyCriteria[dmField] = recvclnt
dmAttach(clientTC, dmTbName)
clientTC.setGenFilter(dyCriteria)
dmResync(dmTbName, clientTC)
__________________________________________________ ________________Here is an alternative piece of code that does the same sync thing but with
the same impact on the combo field:
var
clnt#UIO UIObject
clientTC TCursor
endvar
recvclnt = mealsLib.returnclnt()
clientTC.open("Client.db")
clientTC.locate("Client #", recvclnt)
clnt#UIO.attach(Client_#)
clnt#UIO.resync(clientTC)
clientTC.close()
__________________________________________________ _______________
I have confimed this with a new form, only 2 field ojbects (client #, last name) and one combo object (diet).