Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Space(0) with error
Message
From
18/10/2007 12:48:28
 
 
To
18/10/2007 12:41:38
Issam Mansour
Jordan Business Machines
Amman, Jordan
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01261879
Message ID:
01261892
Views:
14
>thanks tery
>
>I have the same error ??


Hmmm.

How about?

You have a form property: .lClearedRecSource.

and the func/method now:
With thisform
  If not .lClearedRecSource
      .grid1.RecordSource= ""
      .lClearedRecSource = .T.
  EndIf
EndWith
This should stop the code firing repeatedly.

When a record source IS selected, .lClearedRecSource = .F.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform