I am trying to get two files to work together. The customer file Cust with an Index on Accno and a job file Job with same index Accno. I have to admit I have not got my heard around datasources and tables as yet. I can only get the Cust file to display in the 2 dbgrids. I not sure how to get the Job details to display in the second grid. Thanks Wallace. I need 2 tables, but do I need 2 datasources? The Tablename's are set to the the correct dbase files but they both display the same info.
marsheng
0
Newbie Poster
Recommended Answers
Jump to PostIf you have 2 tables and want to link components to them, yes you would.
Jump to PostSounds like you have half a plan.
Jump to PostMarsheng,
You've described half a plan on where you're going. What you want to do. You could still arguably use a text file - if you really really wanted to, replace any line feeds from the memo field with an unused character, but it would seem a convaluted way …
Jump to PostDelphi doesnt have those kinds of commands, but.
Btw which version of Delphi are you using? The tDBF the one from sourceforge?
Are you intending the user to get to type use, copy to, zap etc? or just the delphi specific way of doing it with the tdbf …
Jump to PostDelphi 4? ouch. THats seriously old.
OK, so, you didnt answer the last part really, or perhaps it wasnt overly clear. You speak of dbase commands like you used to code them - thats oK, Ive been there, but, are you hoping your users can type them, or just …
All 18 Replies
LizR
171
Posting Virtuoso
delphiman
0
Newbie Poster
marsheng
0
Newbie Poster
LizR
171
Posting Virtuoso
delphiman
0
Newbie Poster
LizR
171
Posting Virtuoso
marsheng
0
Newbie Poster
LizR
171
Posting Virtuoso
marsheng
0
Newbie Poster
LizR
171
Posting Virtuoso
marsheng
0
Newbie Poster
LizR
171
Posting Virtuoso
marsheng
0
Newbie Poster
LizR
171
Posting Virtuoso
marsheng
0
Newbie Poster
LizR
171
Posting Virtuoso
marsheng
0
Newbie Poster
LizR
171
Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.