Vbe Data Exchange

Posted on 2004-11-08
Last Modified: 2010-04-05

SLOGRecord = record
  Name       : array[1..55]  of char;
  RINK       : array[1..20]  of char;
  RINK2      : array[1..20]  of char;
  SNO        : array[1..3]   of char;
  GNO        : array[1..7]   of char;
  ZUNIT      : array[1..70]  of char;
  JOB        : array[1..105] of char;
  COND       : array[1..40]  of char;
  DIRCTOR    : array[1..60]  of char;
  YERBIRTH   : array[1..4]   of char;
  MONTHBIRTH : array[1..2]   of char;

sd.NAME:='Zayn Al Shanqiti';

I used the above  record in delphi 7 and I try to  assin string to it but I can't how I can do that
I got error(Incompt. Type)
Question by:zayn
    1 Comment
    LVL 12

    Accepted Solution

    1) Name       : array[1..55]  of char;   <-- NOT good
    2) Name       : String[55];   <- MUCH MORE better

    if you use 2), sd.NAME:='Zayn Al Shanqiti'; will work...

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Suggested Solutions

    This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    This video discusses moving either the default database or any database to a new volume.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now