Hi, how i can make a empty object equal a other object? I explain:
oCadCli:Load()
oCadCli1:Blank()
oCadCli have many fields i want do load all fields and datas to oCadCli1.
Thanks in advance.
Wanderson.
for i=1 to oCadCli:reccount
oCadCli1:aBuffer[i]:= oCadCli:aBuffer[i]
next
James Bott wrote:Wanderson,
Assuming the two DBFs have the same structure you can simply do this:
- Code: Select all Expand view
for i=1 to oCadCli:reccount
oCadCli1:aBuffer[i]:= oCadCli:aBuffer[i]
next
Regards,
James
for i=1 to oCadCli:fcount()
oCadCli1:aBuffer[i]:= oCadCli:aBuffer[i]
next
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Horizon and 93 guests