[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Vbe Data Exchange

Posted on 2004-11-08
4
Medium Priority
?
179 Views
Last Modified: 2010-04-05
Type

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;
end;
var
sd:SLOGRecord;

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)
0
Comment
Question by:zayn
1 Comment
 
LVL 12

Accepted Solution

by:
Ivanov_G earned 500 total points
ID: 12522641
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...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

830 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