Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Object Pascal Programming Language
  • Page:
  • 1

TOPIC:

Access violation error with bufdataset.locate 7 years 4 months ago #10856

  • Segami Steve
  • Segami Steve's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
Hi,

Impossible to use a "Bufdataset.locate"... Always an Access violation error!

Is it a bug or an error of me?

An idea?

Thanks

Please Log in or Create an account to join the conversation.

Access violation error with bufdataset.locate 7 years 4 months ago #10857

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
More info Sir, please
-Code sample ?
-OS-CPU-Platform ?
-Used Libraries ?
- etc...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Access violation error with bufdataset.locate 7 years 4 months ago #10858

  • Segami Steve
  • Segami Steve's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
Hi,

More details:

OS = wince

At the beginning, I insert values with a " repeat... bufdataset.InsertRecord([str1,str2,str3])...until..."

The ""Access violation error" appears with a "bufdataset.Locate('Fieldname',SearchValue,[loCaseInsensitive])" when all records have a value NULL in their "Fieldname". If all records have a no NULL value in their "Fieldname", "bufdataset.Locate" work.

Thanks for your help

Best regards

Please Log in or Create an account to join the conversation.

Last edit: by Segami Steve.
  • Page:
  • 1