Forum
× Discussions for CodeTyphon Object Pascal Programming Language

Question Access violation error with bufdataset.locate

  • Segami Steve
  • Segami Steve's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 2 weeks ago #10856 by Segami Steve
Segami Steve created the topic: Access violation error with bufdataset.locate
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 months 2 weeks ago - 2 months 2 weeks ago #10857 by Sternas Stefanos
Sternas Stefanos replied the topic: Access violation error with bufdataset.locate
More info Sir, please
-Code sample ?
-OS-CPU-Platform ?
-Used Libraries ?
- etc...

CodeTyphon Architect and Programmer
Last Edit: 2 months 2 weeks ago by Sternas Stefanos.

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

  • Segami Steve
  • Segami Steve's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 months 2 weeks ago - 2 months 2 weeks ago #10858 by Segami Steve
Segami Steve replied the topic: Access violation error with bufdataset.locate
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
Last Edit: 2 months 2 weeks ago by Segami Steve.

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